by @R Sharma Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_6e8883ea_4d9b_434e_9b8c_10653f8c6561"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_5bb85bf8_861b_4e21_b7bb_28415a77db7f","initValue":null},{"falseBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"x","id":"id_bbd9ae4b_2d06_4032_ac73_a39faf83222a","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"y","id":"id_22ad94c6_4728_4004_b9d2_5c2423b32e15","initValue":"0"}],"id":"id_eac0d5d5_4dd5_438f_8190_81c4a0209052"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Integer","name":"x","id":"id_37cdaaec_ec18_42af_9fc3_f270571ce339","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"y","id":"id_6b755e79_4a2d_410c_bc15_ab1fef1b4dd6","initValue":"0"}],"id":"id_578acce7_199a_4b1c_a20a_757319fb6e82"},"condition":"x>0","@type":"If","id":"id_6fa3eafe_8965_4a32_819d_707f49262d7d"},{"@type":"Input","name":"x","id":"id_b4facf51_9595_4029_a074_36b436cf9f4e","prompt":"enter the value of x"},{"@type":"Input","name":"y","id":"id_13f985cb_07a0_430a_bc3f_1f8843ea0d36","prompt":"Enter y"},{"@type":"Declare","tpe":"Integer","name":"total","id":"id_0f378513_d36c_4ac1_998d_d8293c42d2b1","initValue":"x+y"},{"newline":true,"@type":"Output","id":"id_ddd5ef9b_e347_4492_83bd_09580cbe82ca","value":"total"},{"@type":"Return","id":"id_74e402b9_6ca4_49f9_a4b5_3e4bef876ba9","maybeValue":null}],"parameters":[]},"id":"id_d410c20c_3f51_49a7_8b83_97d2bdf0a5a9","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":134}