by @Melissa Alvarez Puerta Fork
{"functions":[],"name":"Decisiones24","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_8e272860_d862_4dd9_99e8_5450fd37bdca"},{"@type":"Declare","tpe":"Integer","name":"N","id":"id_d16f5649_a405_4c69_9bcc_fdf8fb578b9a","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D1","id":"id_c642650f_0d1f_4d0a_873c_775fc1db0f5e","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_8bb07483_8391_4a9b_a847_9bcb076a6299","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"Df","id":"id_5c4ea3ea_d6b2_4d6a_9fea_96d468301f7d","initValue":"0"},{"@type":"Input","name":"N","id":"id_2e1551ed_f808_48f8_89de_721571168725","prompt":"Ingrese un número entero"},{"@type":"Assign","name":"N","id":"id_b7df222d_2134_4223_b536_fcc422558b85","value":"abs(N)"},{"falseBlock":{"statements":[{"@type":"Assign","name":"Df","id":"id_34eada5e_6e2b_4d31_9ed9_3f47175d00e0","value":"N%10"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_6e337ea0_1042_42b4_832d_c4c0f3415183","value":"\"Su número no es de 3 dígitos, pero su último dígito no es primo\""}],"id":"id_dad7d404_bf7c_4d02_994f_e8c772cfefd7"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_98ce51e2_ea7a_4afe_aa90_a478c5b781ef","value":"\"Su número no es de 3 dígitos, pero su último dígito es primo\""}],"id":"id_3ec0b032_4201_4580_8e31_a02a3680cc60"},"condition":"Df==2 || Df==3 || Df==5 || Df==7","@type":"If","id":"id_d607e2dd_a7ac_40a6_89c0_2beaadbe25d7"}],"id":"id_457762c1_3d39_4215_864f_6cd4eb5585dd"},"trueBlock":{"statements":[{"@type":"Assign","name":"D1","id":"id_439e7a9e_8017_4697_bcea_dd6a8f798eed","value":"N/100"},{"@type":"Assign","name":"x","id":"id_53809e4a_cc00_4105_aef4_1fd4da863893","value":"D1%2"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d7bca136_b415_43ab_92da_fdd69f518e6b","value":"\"Su número es de 3 dígitos, y el primero no es par\""}],"id":"id_6fa072ef_669f_4338_aa12_3b5403fd1b81"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_36a67042_e8a4_4566_9a09_b05907ac65e8","value":"\"Su número es de 3 dígitos, y el primero es par.\""}],"id":"id_84afa36a_062c_47b2_8d76_bf4d382ba08b"},"condition":"x==0","@type":"If","id":"id_bfd709a1_2204_4031_b5aa_a8c4996b951d"}],"id":"id_82de05a6_2cfe_4069_891f_a8d421daae95"},"condition":"N>=100 && N<=999","@type":"If","id":"id_8b02a788_d515_4991_afac_adca8b1b0af7"},{"@type":"Return","id":"id_414f9f4a_1103_40f3_a73e_fb82c3176be9","maybeValue":null}],"parameters":[]},"id":"id_b7a3e04e_5345_46d8_8aa4_787e223c277e","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":482}