by @Melissa Alvarez Puerta Fork
{"functions":[],"name":"Decisiones21","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_25807b93_f722_4975_b8cd_bdc993914706"},{"@type":"Declare","tpe":"Integer","name":"N","id":"id_8c355286_2c08_4e81_aa51_e713edfc4d31","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D1","id":"id_473f8028_3df3_4585_bb28_54ab88b901d9","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D2","id":"id_16c9133b_325a_448f_9b0d_44969c79fb6f","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D3","id":"id_2b36dc58_9ae1_403e_8b69_a6228cb3c19a","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D4","id":"id_a9ea27ea_355f_4852_8bbd_49df8549a08b","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_36bd4568_2c2a_4dfd_b19a_dac1232f4019","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"y","id":"id_af6df2a2_3ea1_4223_bc8b_d00be485e010","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"z","id":"id_37de3d13_ea1e_4898_9fd3_a7ffe7c02ee0","initValue":"0"},{"@type":"Input","name":"N","id":"id_4d0fa5b3_59a4_4269_950e_9ace4a3ad63f","prompt":"Ingrese un número enterde 4 dígitos"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d700b933_a5da_4c18_9034_a7ccab42c0a5","value":"\"Su número no es válido. Ingrese un número de 4 dígitos.\""}],"id":"id_d18618a6_491e_4e2b_9609_a37bb74a1346"},"trueBlock":{"statements":[{"@type":"Assign","name":"N","id":"id_aaf70419_df9a_49e3_9119_8798aec22dd6","value":"abs(N)"},{"@type":"Assign","name":"D1","id":"id_ee0e5f04_1db4_42ed_bd0f_c2ae25612f0e","value":"N/1000"},{"@type":"Assign","name":"D2","id":"id_c9b5192d_cd04_434e_a322_a352a7dda3c0","value":"N/100%10"},{"@type":"Assign","name":"D3","id":"id_8ed418ab_9610_4767_9db1_e68034f8fabd","value":"N/10%10"},{"@type":"Assign","name":"D4","id":"id_02031002_5d7e_40b9_957a_5e4a6a5e75b9","value":"N%10"},{"@type":"Assign","name":"x","id":"id_9976b0f7_e107_43b0_9bb7_5d029c9dc9e5","value":"D1%D2"},{"@type":"Assign","name":"y","id":"id_d6af2684_4cc5_4d32_850b_8f5fce8fb2ed","value":"D1%D3"},{"@type":"Assign","name":"z","id":"id_68baedf4_e72c_4715_8db0_c4152be2b170","value":"D1%D4"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_4c843de8_6cdb_4431_961a_e587cbd52e32","value":"\"El primero dígito de su número no es múltiplo de alguno de sus otros dígitos\""}],"id":"id_c38d58e0_d3fe_43aa_99d5_bc24db9692fe"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_382aae67_0e8b_4c31_bc85_fd5689d9aa3f","value":"\"El primero dígito de su número es múltiplo de alguno de sus otros dígitos\""}],"id":"id_1246f175_79e4_48ea_881e_49550b344672"},"condition":"x==0 || y==0 || z==0","@type":"If","id":"id_c2c8a1f6_142d_46af_8cb8_6f77891855b8"}],"id":"id_216cb635_1f47_4a65_bb64_113c6b228623"},"condition":"abs(N)>=1000 && abs(N)<=9999","@type":"If","id":"id_be6529ad_3024_4fcc_8f21_66d5646c00be"},{"@type":"Return","id":"id_1f79f236_b5b8_45d2_a955_611f79cc010f","maybeValue":null}],"parameters":[]},"id":"id_5e52e099_1236_46b2_af6c_df42317d8892","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":415}