by @Melissa Alvarez Puerta Fork
{"functions":[],"name":"Decisiones37","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_9ac1e8bb_7602_406d_a89d_6e63af471991"},{"@type":"Declare","tpe":"Integer","name":"N","id":"id_5dc333c0_be4d_4cef_bfbf_c29a686a8c21","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D1","id":"id_cc4e6be9_80b0_4016_883f_235573dcfcb9","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D2","id":"id_d419a472_c18c_4900_87a8_e20c750a6894","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D3","id":"id_c85c05b1_07b1_4c80_a647_a92531c5d44f","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D4","id":"id_3bc9510b_a7a9_413f_b030_837ab806c763","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D5","id":"id_9abcb9ea_9553_4d6e_a593_9a2278dceb18","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"V","id":"id_6bb181d3_20ee_49ed_8401_a859ab321e90","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"W","id":"id_05d99d2a_ba2a_447a_bc21_29c288b59e22","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"X","id":"id_1bd330d0_f464_424d_86ec_7a96c17bb065","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"Y","id":"id_3840807c_bf64_4589_aff2_1e5f1e533e32","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"Z","id":"id_e2263111_6cfb_4233_b2f8_cc1d4eba8a7e","initValue":"0"},{"@type":"Input","name":"N","id":"id_0dcec232_b5ef_41b7_9309_879dc624fd27","prompt":"Ingrese un número entero de 5 dígitos"},{"@type":"Assign","name":"N","id":"id_7174dc99_5569_42b5_8bbe_0f886055daa2","value":"abs(N)"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b0ebe1bc_c91b_490f_a69b_b6f362081baf","value":"\"Su número no es válido. Ingrese un valor de 5 dígitos\""}],"id":"id_6378c2b8_2bf2_4946_832d_39c6c112aac2"},"trueBlock":{"statements":[{"@type":"Assign","name":"D1","id":"id_d91668f8_793f_4930_9a8d_dfcf381d59e6","value":"N/10000"},{"@type":"Assign","name":"D2","id":"id_b87ca007_e392_4e52_9913_ff57141b8b42","value":"N/1000%10"},{"@type":"Assign","name":"D3","id":"id_8681ffcb_94b7_4f40_96b5_d661398265b0","value":"N/100%10"},{"@type":"Assign","name":"D4","id":"id_344e4174_42f1_4de9_b72c_2b51ec1c0924","value":"N/10%10"},{"@type":"Assign","name":"D5","id":"id_dc0c854d_47f1_419c_9d80_ad5202484489","value":"N%10"},{"@type":"Assign","name":"V","id":"id_c040d4c1_64b2_4c20_a5df_1e56216b7ff4","value":"D1%2"},{"@type":"Assign","name":"W","id":"id_32e5f8d7_5491_435e_af86_365f0fb07a1e","value":"D2%2"},{"@type":"Assign","name":"X","id":"id_1abc160d_6edf_47ba_aa84_cc588185ed19","value":"D3%2"},{"@type":"Assign","name":"Y","id":"id_a696686b_9fbc_4590_b747_5639e0efffb1","value":"D4%2"},{"@type":"Assign","name":"Z","id":"id_06ce2068_6f1d_447b_8aa8_ded958e6ab09","value":"D5%2"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_dd7ebc59_db39_441e_b3b0_6af65a18f839","value":"\"Todos los dígitos de su número son impares\""}],"id":"id_3fb8f233_bc34_4ee8_970c_42c43f56e4bf"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_0a3d1514_1134_445e_8710_0822434559bb","value":"\"1 dígito de su número es par y 4 son impares\""}],"id":"id_88b57d95_65d5_4db3_b30b_9784044b3bc3"},"condition":"Z==0","@type":"If","id":"id_758ce8dc_473e_4bdf_86ff_dc6e94379d3e"}],"id":"id_d0294443_5969_4141_b078_1d356cec45f0"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3a296d65_4342_44cb_8be2_6d9dacf5cbc7","value":"\"1 dígitos de su número es par y 4 son impares\""}],"id":"id_ed12c9c3_3e34_4702_a342_0c939951fbba"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_31832879_414e_4d8b_bdec_6a2c3b4066ca","value":"\"2 dígitos de su número son pares y 3 son impares\""}],"id":"id_aa86fa33_0560_49bc_aba6_c5ea5a2065d2"},"condition":"Z==0","@type":"If","id":"id_11129b72_2930_47fc_a58a_54de40629be4"}],"id":"id_7a6a19d8_4fda_489e_b0c8_9ac8b9785576"},"condition":"Y==0","@type":"If","id":"id_e80cab7d_7fee_4185_8475_3cddc5205f48"}],"id":"id_4c809367_a471_47f5_9eaf_c04f051df98c"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9de230cf_ef03_4817_9327_b54bfe77f556","value":"\"1 dígito de su número es par y 4 son impares\""}],"id":"id_0a11facf_c312_4feb_a9f1_ade1832ad33e"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b55f3a75_b122_44f2_81e1_bee8f4eeedeb","value":"\"2 dígitos de su número son pares y 3 son impares\""}],"id":"id_3b88a6d1_0cd0_4be5_8bef_5b5cfd20deed"},"condition":"Z==0","@type":"If","id":"id_3e0e7800_520f_4904_878e_e3a0f30a2d2e"}],"id":"id_dc7887f3_6ce9_40d8_92be_a51eb21da2d9"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_652f26b2_8642_4bff_ba2c_3f225036a320","value":"\"2 dígitos de su número son pares y 3 son impares\""}],"id":"id_3aaf0871_e054_4be9_a588_5df9349e22ea"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a7ec900d_af5d_451a_9ffe_9db1399f8745","value":"\"3 dígitos de su número son pares y 2 son impares\""}],"id":"id_1b9436e1_66f8_4ae3_9abf_ff653dbdc668"},"condition":"Z==0","@type":"If","id":"id_740c9dbc_f81e_4b3a_93e3_054ad0f90e44"}],"id":"id_9d98455e_40fb_4c9e_a42f_b4c866dba5ca"},"condition":"Y==0","@type":"If","id":"id_369999c0_6bb5_48d0_9638_5b4a1be7008a"}],"id":"id_e55db687_d6b1_4b32_8add_173331a68154"},"condition":"X==0","@type":"If","id":"id_69db35c5_f1c2_4619_937d_7f243ea4e9bd"}],"id":"id_d862afdd_2892_4dd6_80c5_b511a98b7c85"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d21bfbb2_4691_4b10_8ef2_e216f2cde3a9","value":"\"1 dígito de su número es par y 4 son impares\""}],"id":"id_e4e04fc4_a552_472d_894f_74999a28f612"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_5666a184_c5e8_48ac_9b41_089becaa5305","value":"\"2 dígitos de su número son pares y 3 son impares\""}],"id":"id_11797537_9782_40a1_b1b7_9be3d4f00f1b"},"condition":"Z==0","@type":"If","id":"id_3539ab3a_d65b_4271_a313_dad3fe271bf2"}],"id":"id_61fab2d8_5b94_4cea_9ab9_d6e4dabb9003"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3623c9fb_0f05_448c_b56e_754918a34894","value":"\"2 dígitos de su número son pares y 3 son impares\""}],"id":"id_95af179b_9202_4fc7_8402_d49a07d6e2b7"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_5fe11d44_1e33_440a_b664_7dbb3a6c99d3","value":"\"3 dígitos de su número son pares y 2 son impares\""}],"id":"id_89dc1468_8ebb_4e4c_b0e5_6de6967cf83c"},"condition":"Z==0","@type":"If","id":"id_290d72d3_d98b_48cd_bd28_53ba1b5debd5"}],"id":"id_8845345b_9f77_4b98_a830_ca76ab59ecae"},"condition":"Y==0","@type":"If","id":"id_22549d70_f5fc_4040_a2be_b455d3539a0a"}],"id":"id_9fda4620_d78a_4d8b_954b_b6448da026cf"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_75287748_b87a_4235_8859_f05fd26cb715","value":"\"2 dígitos de su número son pares y 3 son impares\""}],"id":"id_82dbc55d_5628_44ef_b2cd_03ac61794fa9"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_92661ae0_dcdf_4885_ac92_7b06f52ef41e","value":"\"3 dígitos de su número son pares y 2 son impares\""}],"id":"id_9f5e1964_8de6_442b_85db_4c608a90f8e3"},"condition":"Z==0","@type":"If","id":"id_9164bba3_ce8c_4828_a503_b0190eda7782"}],"id":"id_84b8717a_1928_485c_98ae_a2ad34120ca1"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c8952d38_a076_49e0_85ae_426c948b9739","value":"\"3 dígitos de su número son pares y 2 son impares\""}],"id":"id_f7c2c9d0_2048_40f5_b78a_d21424db82ec"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9043b182_5b07_4206_8d2a_0d423fdd90ee","value":"\"4 dígitos de su número son pares y uno es impar\""}],"id":"id_3ec5796e_87c0_4ac6_9b25_a643ddb21d06"},"condition":"Z==0","@type":"If","id":"id_9a1a3812_46fd_4ae0_bb19_eb4270b31ae0"}],"id":"id_dd6815cb_c750_440a_adea_3c481c0881b8"},"condition":"Y==0","@type":"If","id":"id_fd336d56_72cd_4c36_b79e_b08d77d942f1"}],"id":"id_65394e3e_7e35_436e_b343_430b6b4bb318"},"condition":"X==0","@type":"If","id":"id_5468c8a1_785b_4e2f_bd9f_572109c8116d"}],"id":"id_185bb499_10b2_4ad0_8f70_35cccb1a5528"},"condition":"W==0","@type":"If","id":"id_1082c1a2_5a4f_4742_9757_081e3553849b"}],"id":"id_517f93fe_e807_4d3a_b90a_f7f95b484236"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_659b00c7_d29f_4d98_bd99_147b5b66748f","value":"\"1 dígito de su número es par y 4 son impares\""}],"id":"id_f6255b14_c0e1_446a_afca_74182c145c2c"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_dab32193_c1b8_40e1_b43e_2396d9ccd505","value":"\"2 dígitos de su número son pares y 3 son impares\""}],"id":"id_98f29025_410c_4695_ad14_30075c7fdabc"},"condition":"Z==0","@type":"If","id":"id_7a936058_b080_4928_8e2a_2326eaa0fb40"}],"id":"id_8dffe39a_4c23_41b7_8f46_95f549f42152"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_bc054da6_3d11_4c72_96d9_a8113a162c44","value":"\"2 dígitos de su número son pares y 3 son impares\""}],"id":"id_b388e8bb_aefe_4c08_ada6_4437525e40c4"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_357a79fa_e748_4227_8d52_d43456ac1799","value":"\"3 dígitos de su número son pares y 2 son impares\""}],"id":"id_3544eaab_19d4_479b_a436_de0889a091a7"},"condition":"Z==0","@type":"If","id":"id_54373428_d318_4680_9983_15c84eb16d42"}],"id":"id_c5b470a3_ea42_4faf_b90c_5b249bbac85b"},"condition":"Y==0","@type":"If","id":"id_2b912056_294c_4765_9b43_86884fb0dccd"}],"id":"id_182c8690_560f_4ad2_a025_044279665899"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9e098508_fdfa_44d6_aeba_ebe71f694268","value":"\"2 dígitos de su número son pares y 3 son impares\""}],"id":"id_579dee0f_b76b_45f6_9ebd_635c62527ea2"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_1e9c8ce0_b912_4f69_bc6f_fcef49c8b99e","value":"\"3 dígitos de su número son pares y 2 son impares\""}],"id":"id_f820eacf_5fb6_4c06_9567_c95bf2b3747f"},"condition":"Z==0","@type":"If","id":"id_09dcc2a6_c1d0_44f5_bcfc_54ab73272029"}],"id":"id_f5d54bc4_07b7_4879_9170_17f7a54827c5"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_0ec1fda7_6cd7_44ad_9ec2_bf4727a72e2d","value":"\"4 dígitos de su número son pares y 3 son impares\""}],"id":"id_eaee5341_af94_46bc_afdd_0500898d3b6f"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_f19dca0d_88c7_4c14_8e91_c1319274d1b8","value":"\"4 dígitos de su número son pares y 1 es impar\""}],"id":"id_461b294d_921b_4202_96e9_f6c5d4f934bb"},"condition":"Z==0","@type":"If","id":"id_b232c04d_9196_46fd_9453_bf1b5e20cd2b"}],"id":"id_0015bb47_d7ba_43d5_b1aa_2ffd2db30350"},"condition":"Y==0","@type":"If","id":"id_d6e181e2_604f_4aa5_97e6_05a537de8135"}],"id":"id_2c9517ba_8e2e_40f0_81dc_48f429618b0e"},"condition":"X==0","@type":"If","id":"id_aa851117_55c9_467b_b549_b3b248d29f6d"}],"id":"id_9290ca4f_be87_40c1_9d42_e4865374220b"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a94b987c_9fc0_4e7b_8adf_b61a75417db7","value":"\"2 dígitos de su número son pares y 3 son impares\""}],"id":"id_33ab46e9_a7e7_4bde_882f_a79b10bd101e"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_32b98a3e_eb3c_48f9_b633_1563743a8353","value":"\"3 dígitos de su número son pares y 2 son impares\""}],"id":"id_f3fdbad2_be35_4c67_83fb_04a6548bd030"},"condition":"Z==0","@type":"If","id":"id_e6d73dde_57da_46ac_a5b2_31183901abd1"}],"id":"id_2db542a9_648d_4103_b6d7_20b02742513a"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_6d0744e3_9e8d_4b10_913c_7de05b5b9d75","value":"\"3 dígitos de su número son pares y 2 son impares\""}],"id":"id_27b22bd3_3b37_4113_946b_59946f707d94"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_28add3c5_7b90_4bcb_aebd_43ad64f8448e","value":"\"4 dígitos de su número son pares y 1 es impar\""}],"id":"id_999d54a3_d5ae_4a02_a01c_dbb640205818"},"condition":"Z==0","@type":"If","id":"id_a006a55d_5d5b_4eb8_a3bc_acf8adcc55a5"}],"id":"id_bed710e6_f0f3_4e1f_b90c_b460b1e36de6"},"condition":"Y==0","@type":"If","id":"id_261f2ed9_88b0_4206_a43e_8d889faa14f0"}],"id":"id_d76d7df6_a2d3_4b4e_a42c_ea5825a7d894"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_bada3f64_5723_444a_a833_4cec4f21da9c","value":"\"3 dígitos de su número son pares y 2 son impares\""}],"id":"id_65713237_6692_4910_8811_ba03919fdf61"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_18280729_6cad_4edf_b108_9d4f560d5e06","value":"\"4 dígitos de su número son pares y 1 es impar\""}],"id":"id_f731c478_5e6b_4227_86df_ee6a980c5154"},"condition":"Z==0","@type":"If","id":"id_e4936dfc_643d_4000_8f13_fb43b64f83c2"}],"id":"id_bba2615c_27bc_4891_8247_1d876b41c07d"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c35732cc_e62b_427b_893e_77b0116842e6","value":"\"4 dígitos de su número son pares y 1 es impar\""}],"id":"id_31fd3d45_c972_4d23_8a63_402b95e6ffa8"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_e5649698_8019_4a84_a0cb_2289ea267d73","value":"\"Todos los dígitos de su número son pares\""}],"id":"id_73c67c32_a10e_48d0_9527_38d7ae5e22bf"},"condition":"Z==0","@type":"If","id":"id_fed76d8d_ec01_40e8_a869_b494b93e65cc"}],"id":"id_24f79802_12dc_453c_b312_fc0b18392416"},"condition":"Y==0","@type":"If","id":"id_591a4884_c4eb_4ce8_9b6e_748c072fc923"}],"id":"id_57146313_118b_4c88_a745_a8ca9eb870ab"},"condition":"X==0","@type":"If","id":"id_4b87576a_0689_4dee_966d_f26434ece835"}],"id":"id_d63f7cfd_0f63_4706_80ad_fa882801c034"},"condition":"W==0","@type":"If","id":"id_6e2aef19_e603_4b8e_81ce_68449c2a46c8"}],"id":"id_f2691436_1ef7_4501_b7a8_cc661459d7d1"},"condition":"V==0","@type":"If","id":"id_4ecb5a73_acc1_4d59_85a0_3b0efb49c7cf"}],"id":"id_0500b307_9397_434d_9b9b_ff29fb78f067"},"condition":"N>=10000 && N<=99999","@type":"If","id":"id_18b28fd3_1aaa_444a_b2b8_b41a7e800b1f"},{"@type":"Return","id":"id_c15423ee_387e_403f_9ffd_0d7cdf8f582a","maybeValue":null}],"parameters":[]},"id":"id_6d6a5e0e_1929_4a3e_9ab0_27384675e188","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":806}