by @Melissa Alvarez Puerta Fork
{"functions":[],"name":"T.S 16","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_04a2acac_d2d8_467b_8159_6d4b4faa7c2b"},{"@type":"Declare","tpe":"Integer","name":"Numero","id":"id_b878fa7f_66f3_4dd0_9e0c_9399ffa49472","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"d1","id":"id_160169c8_7524_40fb_b30b_e20e44486df0","initValue":null},{"@type":"Declare","tpe":"Integer","name":"d2","id":"id_376eee83_16a6_484b_83c2_9e9c8c2abe70","initValue":null},{"@type":"Declare","tpe":"Integer","name":"d3","id":"id_981b8ad5_a1ce_4550_8534_9cbc5b21984c","initValue":null},{"@type":"Declare","tpe":"Integer","name":"d4","id":"id_76a7c7d5_24c5_4a4b_b103_975139bd7b8f","initValue":null},{"@type":"Input","name":"Numero","id":"id_03c0bb98_49f0_4891_9c68_a1fdc5633c21","prompt":"Ingrese un número entero de 4 dígitos"},{"newline":true,"@type":"Output","id":"id_d398e50f_fd1d_4fec_b94f_1dee65b2b309","value":"\"La suma de los 4 dígitos es:\""},{"@type":"Assign","name":"d1","id":"id_61f03bad_db07_4b7c_a7e6_43a4abceb3aa","value":"Numero/1000"},{"@type":"Assign","name":"d2","id":"id_450fb17e_5991_480b_8b6d_3fec7fb185c1","value":"Numero%1000/100"},{"@type":"Assign","name":"d3","id":"id_2cafe6be_a914_47b4_ba17_70f0b2d9d898","value":"Numero%100/10"},{"@type":"Assign","name":"d4","id":"id_eda39f0d_bbcb_4ada_97fa_020a368e16a3","value":"Numero%10"},{"newline":true,"@type":"Output","id":"id_3f14e898_0f16_4eda_a525_f29509b261f7","value":"d1+d2+d3+d4"},{"@type":"Return","id":"id_691f48c1_50d9_4cf1_9d15_ebbc99bb9204","maybeValue":null}],"parameters":[]},"id":"id_1017fb98_6970_495c_b07a_32558cfcaf8f","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":227}