by @Felipe Londono Aristizabal Fork
{"functions":[],"name":"36 taller decisiones","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_a1640307_fade_4b20_8c2c_1462adecd240"},{"newline":true,"@type":"Output","id":"id_3337e2d5_8355_4f46_ad3e_e44ee59a9a07","value":"\"Programa que lee un número entero de cuatro dígitos y determina cuantos dígitos primos tiene.\""},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_f26419da_0225_4a0b_901d_adc5b0198b1e","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"d1","id":"id_85eab025_db02_4ef6_a828_0a1cf5a2cc8f","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"d2","id":"id_767428c4_8bb4_4579_87b6_ace5ffe8b3b6","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"d3","id":"id_3bebe0c0_946e_4dd8_a274_3f48ec67c158","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"d4","id":"id_d737f030_2ec1_4f1b_89b2_ad2499be2273","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"c","id":"id_a0b175e7_69db_4993_8852_6baee6f34fff","initValue":"0"},{"@type":"Input","name":"x","id":"id_dd121118_8fbf_44e5_95e9_77338471667e","prompt":"Ingrese un número de 4 dígitos: "},{"@type":"Assign","name":"d1","id":"id_2031e6cc_3bcb_4740_b93f_e3dfc432aa43","value":"x/1000"},{"@type":"Assign","name":"d2","id":"id_a5d91b68_0053_4805_bcae_6fd65d5bb7c9","value":"x/100%10"},{"@type":"Assign","name":"d3","id":"id_f6f970db_4280_4ce2_aef4_fba68309e3a1","value":"x/10%10"},{"@type":"Assign","name":"d4","id":"id_be907547_979f_4ea6_a6c4_fc5c631ca263","value":"x%10"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_cb5d6a6d_92f5_4e6d_b9ee_aabcf2d089a9"},"trueBlock":{"statements":[{"@type":"Assign","name":"c","id":"id_9a31b58d_5f03_4688_ae34_381253feada7","value":"c + 1"}],"id":"id_5c1feed0_a59f_4679_b5b5_ac790b5e5af5"},"condition":"d1 == 2 || d1 == 3 || d1 == 5 || d1 == 7","@type":"If","id":"id_076dd18d_c778_47fe_9a04_7b2f53454e12"},{"falseBlock":{"statements":[],"id":"id_d4b774c5_d484_4837_aadc_717bbde1483a"},"trueBlock":{"statements":[{"@type":"Assign","name":"c","id":"id_4869975e_6279_41f2_a345_402dcc49b86c","value":"c + 1"}],"id":"id_f65df807_dc0d_4420_8da3_bd0dcaaf3deb"},"condition":"d2 == 2 || d2 == 3 || d2 == 5 || d2 == 7","@type":"If","id":"id_ae6f69ce_cd17_4d17_979d_04eb09d61c77"},{"falseBlock":{"statements":[],"id":"id_ef9c0832_52de_4137_8ad8_d0bff251d295"},"trueBlock":{"statements":[{"@type":"Assign","name":"c","id":"id_dcd55f11_5be0_4261_b359_a33229bcc504","value":"c + 1"}],"id":"id_46326d38_e719_4cf3_86f9_0c702e9644ef"},"condition":"d3 == 2 || d3 == 3 || d3 == 5 || d3 == 7","@type":"If","id":"id_3b643934_2be3_4889_9e70_65f89d1713fe"},{"falseBlock":{"statements":[],"id":"id_064f18e7_794b_416f_8272_fb510ea1718e"},"trueBlock":{"statements":[{"@type":"Assign","name":"c","id":"id_ccf34cce_900e_4d3f_8f5b_a8d353189563","value":"c + 1"}],"id":"id_dadd8518_1712_4444_9a6b_84f37693ab66"},"condition":"d4 == 2 || d4 == 3 || d4 == 5 || d4 == 7","@type":"If","id":"id_9f086c8a_6eaa_4a05_a01e_16a3634e962c"},{"newline":false,"@type":"Output","id":"id_9423a864_ceb6_484f_a6f1_d478e6eb724e","value":"x"},{"newline":false,"@type":"Output","id":"id_68b8b1bf_a54a_4e90_8476_7b92a66bb420","value":"\" tiene: \""},{"newline":false,"@type":"Output","id":"id_c85885d3_0622_45ce_b6a3_7802b6ccd26a","value":"c"},{"newline":false,"@type":"Output","id":"id_b74d1ff5_817f_4d0f_b4c9_de938f5506ea","value":"\" números primos.\""}],"id":"id_acd95341_67d1_497d_999c_955844a6b567"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_006d346f_86bb_4dbc_a4d0_556a6cf16ca7","value":"\"El número ingresado no está en el rango de valores admitidos.\""}],"id":"id_30832d6d_26db_4cf2_aa8b_19f3833b9e45"},"condition":"x < 1000 || x > 9999","@type":"If","id":"id_121a845c_6ee5_45ea_b122_17fdbc474767"},{"@type":"Return","id":"id_9e63d221_74f2_4822_ba32_7cb7461bb5bd","maybeValue":null}],"parameters":[]},"id":"id_c34cb3d5_2d49_42e9_b1d2_98da10bfad4c","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":321}