by @Melissa Alvarez Puerta Fork
{"functions":[],"name":"Decisiones36","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_7ae53800_6182_4772_b1cf_0fb2a0c49704"},{"@type":"Declare","tpe":"Integer","name":"N","id":"id_6fbf17ef_f490_4b9d_a0cd_ba0434419317","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D1","id":"id_006bb07e_8cd9_430b_94ab_edc58a8e7290","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D2","id":"id_53015c1a_3e42_452d_8c46_81c8e8fdf24a","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D3","id":"id_b8427572_d09f_452e_a9f4_afc95fbed6c9","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D4","id":"id_e58e05f8_c588_4dfc_8a2f_719202bbc8f9","initValue":"0"},{"@type":"Input","name":"N","id":"id_a0ff0213_068f_40d0_bae5_6c512b362f45","prompt":"Ingrese un número entero de 4 dígitos"},{"@type":"Assign","name":"N","id":"id_0eea532c_3ea9_4b21_af84_b8e9ce2e3f9c","value":"abs(N)"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_8424961a_9ec8_4e61_a63b_8f739ae459ca","value":"\"Su número no es válido. Ingrese un valor de 4 dígitos.\""}],"id":"id_3d425712_2083_4331_afbf_bce55e0d316c"},"trueBlock":{"statements":[{"@type":"Assign","name":"D1","id":"id_266129f0_4f42_401e_b3ab_236bc5456c16","value":"N/1000"},{"@type":"Assign","name":"D2","id":"id_b630fa6a_d6e7_4f12_8078_11bebc82ba39","value":"N/100%10"},{"@type":"Assign","name":"D3","id":"id_cfc5311f_a937_43ae_adc9_1b65f257880a","value":"N/10%10"},{"@type":"Assign","name":"D4","id":"id_9a72ab58_8475_41de_b99b_d6778c2041a2","value":"N%10"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9f5f5a2d_0a03_4b27_8271_8dbff64a5f4f","value":"\"Ningún dígito de su número son primos\""}],"id":"id_150eba4f_7371_422c_8c65_30b3164a076d"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_fd7ce294_4205_4ed9_9289_fa4d74ecb656","value":"\"1 dígito de su número es primo\""}],"id":"id_59a9739a_a975_4781_86b1_a9d7aa92d570"},"condition":"D4==2 || D4==3 || D4==5 || D4==7","@type":"If","id":"id_63d7dfd4_3587_4f28_b97e_bf2c70fe9d43"}],"id":"id_334c62cc_9671_40bf_b7b7_9973bfbb3b28"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_4cbde0a2_bdee_4c6a_aaad_7b0e67ab0a82","value":"\"1 dígito de su número es primo\""}],"id":"id_2e70c5f9_ab72_4df1_b8e0_1815204e4761"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_185ca291_9102_4692_8490_340d8fc6b893","value":"\"2 dígitos de su número son primos\""}],"id":"id_5f2f6ab0_cdd8_48f0_a251_892476fa78b8"},"condition":"D4==2 || D4==3 || D4==5 || D4==7","@type":"If","id":"id_4e89868b_d6ce_4399_a00d_84105f4eb982"}],"id":"id_23368053_f911_4eea_a671_318684b8fc59"},"condition":"D3==2 || D3==3 || D3==5 || D3==7","@type":"If","id":"id_6c265f8a_5365_4ed9_86f9_bcaf9560216b"}],"id":"id_7237d9cb_35cd_42ae_97bf_399a4e6ac549"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c4522e42_8a59_4b54_9f1c_a82d6dbddfd5","value":"\"2 dígitos de su número son primos\""}],"id":"id_da86d85c_b8b2_4626_86a9_4df365254b8f"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_08198ca0_21b4_4ea1_8ac4_18fbd6749b92","value":"\"2 dígitos de su número son primos\""}],"id":"id_dedd8bc7_477d_4dfc_8cbe_f03689232a20"},"condition":"D4==2 || D4==3 || D4==5 || D4==7","@type":"If","id":"id_a5ae0ec3_878a_478e_87de_e5cd740136d9"}],"id":"id_ee61d13a_cb8a_49c0_921d_6d7d7329d851"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b27ec866_b134_424c_88d1_726583d81a63","value":"\"2 dígitos de su número son primos\""}],"id":"id_f17d39fa_9c9f_45b8_ace8_197f904b1712"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3a933111_082e_4764_a219_c7cac6fd02ea","value":"\"3 dígitos de su número son primos\""}],"id":"id_3bc73a92_4afb_4530_bd1c_c09263fff34c"},"condition":"D4==2 || D4==3 || D4==5 || D4==7","@type":"If","id":"id_6c15e4d7_0d1c_4a54_b800_4e80ed6b4127"}],"id":"id_59435c03_b24a_4522_898a_ec5073b9f6a9"},"condition":"D3==2 || D3==3 || D3==5 || D3==7","@type":"If","id":"id_11b909b0_2c74_4222_9173_ed07bb282cd5"}],"id":"id_4a0cbf1a_330c_465c_ba98_7186e5efe191"},"condition":"D2==2 || D2==3 || D2==5 || D2==7","@type":"If","id":"id_bdffa89f_712e_4c00_8a91_87b1a089cb05"}],"id":"id_2140ad6b_67bb_4073_8ba5_94a4db875282"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_aff31ca5_b891_4a65_9906_1cbbbcff6eeb","value":"\"1 dígito de su número es primo\""}],"id":"id_e2e5de11_598f_414c_90bd_e95b1c990e15"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_6d71d583_f79e_426c_b14f_09c7d66a8dea","value":"\"2 dígitos de su número son primos\""}],"id":"id_ed66d08b_c9a6_4bcb_9a9b_e4e33b95376e"},"condition":"D4==2 || D4==3 || D4==5 || D4==7","@type":"If","id":"id_a5df7e16_b93b_4a20_b10c_dcadb6f327b8"}],"id":"id_174cb0d8_7700_4765_882d_b623cdfc0db9"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_884cddbf_ff7f_4143_9225_9cd0ee057205","value":"\"2 dígitos de su número son primos\""}],"id":"id_c85208d2_5864_4316_b195_900a76ab09e7"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_492dd898_4bd3_4588_9dbb_d951fbd88dc0","value":"\"3 dígitos de su número son primos\""}],"id":"id_217b7138_cfb0_4a85_a2e9_931c2d2d7a86"},"condition":"D4==2 || D4==3 || D4==5 || D4==7","@type":"If","id":"id_2f227f35_5df7_4f36_b1c1_3fa30d827da5"}],"id":"id_fd3fa911_f964_44db_b16d_4f510ca47930"},"condition":"D3==2 || D3==3 || D3==5 || D3==7","@type":"If","id":"id_cb2256a9_3006_4ebb_886a_2ace1b491d86"}],"id":"id_4421f812_daef_45d5_9c23_7d048257b42a"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_001522fc_a8ef_4fb2_a0e4_e28f55241327","value":"\"2 dígitos de su número son primos\""}],"id":"id_85f5af37_3c44_4bfa_8dac_28f0735a7c2a"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_afb37797_dbf6_4e96_8b6d_2eda6d1310dc","value":"\"3 dígitos de su número son primos\""}],"id":"id_a82ea0e9_8850_4861_a974_be87a4472520"},"condition":"D4==2 || D4==3 || D4==5 || D4==7","@type":"If","id":"id_d1e6d658_3ce2_4319_8e4f_ea43a8d2b182"}],"id":"id_a14b3c28_b6ff_45da_af19_bea96d195e3a"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d769725e_8a29_489d_a7b2_aba9539f05fb","value":"\"3 dígitos de su número son primos\""}],"id":"id_42d80a5f_8709_4e8c_81fa_37265a61445c"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_0513b750_4d5f_4ffd_98d3_6f368ae499cb","value":"\"Todos los dígitos de su número son primos\""}],"id":"id_6d1454b9_0505_4042_b0eb_4aadbb0cba8c"},"condition":"D4==2 || D4==3 || D4==5 || D4==7","@type":"If","id":"id_a95aa080_427a_4f99_b98f_c226ee65cea0"}],"id":"id_3560df67_b22d_4d2e_82ce_c850c040225a"},"condition":"D3==2 || D3==3 || D3==5 || D3==7","@type":"If","id":"id_f9b48591_bccd_442a_a9d2_c1b67abb786f"}],"id":"id_1e7a2d13_05f3_42cd_9cb8_8bf2331c4081"},"condition":"D2==2 || D2==3 || D2==5 || D2==7","@type":"If","id":"id_e3b2f189_79f8_413f_80a6_f55b02dc2304"}],"id":"id_5b48b85f_24cf_41c0_a8da_0b1020b8b235"},"condition":"D1==2 || D1==3 || D1==5 || D1==7","@type":"If","id":"id_fc4223eb_716f_41f0_8c0c_bb9dd97e1799"}],"id":"id_6ea79df8_8d3f_46e7_8724_fb0cf85c2143"},"condition":"N>=1000 && N<=9999","@type":"If","id":"id_c06293c8_625f_4ef8_ac62_e795ae6342af"},{"@type":"Return","id":"id_81d080f3_219b_49c1_a713_434f85b8565c","maybeValue":null}],"parameters":[]},"id":"id_96987f39_d6b2_44f6_a409_93cc3bb577cc","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":484}