by @Andrew Tanny Liem Fork
{"functions":[],"name":"print sum of first 10 positive","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_58cc25a0_c82f_4a49_ad4a_4d62d5bf2cb3"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_b6704b83_ca47_49dc_ba6e_71216102176b","initValue":null},{"@type":"Declare","tpe":"Integer","name":"sum","id":"id_621c8c33_d1ef_428c_acbb_63f1ff8ab39c","initValue":"0"},{"@type":"Input","name":"x","id":"id_667d1ab1_397a_4916_82c3_e5763b776094","prompt":"even integers less than?"},{"condition":"x < 0","@type":"While","id":"id_acc56d27_5102_4ee2_b370_a0b37fff5b6e","body":{"statements":[{"newline":true,"@type":"Output","id":"id_5c868e3a_eca6_4da6_82bd_d849fd6189e4","value":"\"Masukkan Nilai Positif\""},{"@type":"Input","name":"x","id":"id_8453da7c_dc32_4516_8cf6_afba608047ce","prompt":"Enter Positive Value"}],"id":"id_725c8766_1d41_4f21_b7f4_1dba12a19e08"}},{"newline":true,"@type":"Output","id":"id_05b9262b_1669_4939_9368_7f1eab71c549","value":"\"all positive even integers less than \" + x"},{"varName":"i","incr":"1","@type":"ForLoop","start":"0","end":"x-1","id":"id_cc796286_055b_4f6e_8860_a7f1ae65886a","body":{"statements":[{"falseBlock":{"statements":[],"id":"id_ce9df767_4782_4241_b165_e871c78587ee"},"trueBlock":{"statements":[{"@type":"Assign","name":"sum","id":"id_afdc01e0_9238_4635_bca8_f340f61d690c","value":"sum+i"}],"id":"id_a8c68990_7428_4458_b33e_fa5e444360c7"},"condition":"i%2==0","@type":"If","id":"id_ddeca725_7ba8_424f_bdf3_492e99dc5adf"}],"id":"id_d119be09_1b9c_462e_a3e3_6d4ff860d8ae"}},{"newline":true,"@type":"Output","id":"id_fc46dc70_43c2_4757_bc06_f5bd95b074b1","value":"sum"},{"@type":"Return","id":"id_427175fb_45a0_4012_be24_e54b7d1df897","maybeValue":null}],"parameters":[]},"id":"id_1a01d9a0_6382_4446_8a0c_c4e05dedeb6a","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":980}