by @STUDENT Andrea N (At3) Fork
{"functions":[],"name":"even or odd","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_6e0564e0_d8e7_4d71_a855_c912ea1716a8"},{"@type":"Declare","tpe":"Integer","name":"num1","id":"id_93af07a0_4637_4687_a55b_19562594000d","initValue":"0"},{"@type":"Input","name":"num1","id":"id_9551957e_45c7_4908_94b3_efb2a5687f0f","prompt":"enter any number"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_1491345c_0549_4c95_bfb1_ef988fb14f4e","value":"\"odd\""}],"id":"id_1becc514_5f8e_4bcb_8ce9_284f8d3349f4"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_61533cce_35b7_4146_998c_9d45c226f1c7","value":"\"even\""}],"id":"id_95f26da1_cfb5_44c8_b507_768e3fc1e7de"},"condition":"num1%2==0","@type":"If","id":"id_e6746453_ba6f_4790_a45c_bdfe7cc58bba"},{"@type":"Declare","tpe":"Integer","name":"num2","id":"id_a5950502_8897_45cd_9ba1_a583021488ce","initValue":"0"},{"@type":"Input","name":"num2","id":"id_5baf0cd7_cf3a_450c_bddb_cc3207d21766","prompt":"please enter another number"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_640fcc3f_db3e_45bf_b0bc_ba907b07c131","value":"\"odd\""}],"id":"id_72ab05d2_dcb4_411c_ad74_d52d28ac6550"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_1c0c9747_e2d6_4ad6_aaa2_6506138a362c","value":"\"eve\""}],"id":"id_a4fb6d18_7dca_4cc4_b5e6_b66632d16bcb"},"condition":"num2%2==0","@type":"If","id":"id_056f7cb9_20df_430a_8a74_4eeced346c7e"},{"@type":"Return","id":"id_7a9ae397_ae50_4d9c_8c5e_1bb3d12e02b0","maybeValue":null}],"parameters":[]},"id":"id_c79c6a63_00b9_439a_95e9_eb93167e9965","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":338}