by @Felipe Londono Aristizabal Fork
{"functions":[],"name":"18 taller secuencia","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_53277b3b_0325_451a_b86c_2f1eb904486a"},{"@type":"Comment","id":"id_a02be271_1171_4bc7_a4f8_9d0a8cc7647b","text":"Dado un número entero de cuatro dígitos, invertir dicho número."},{"@type":"Declare","tpe":"Integer","name":"num","id":"id_1c90f6d7_7d8b_48b2_a314_2a8717509747","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"d1","id":"id_7424361d_db3f_4066_b216_6543d8b7ee09","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"d2","id":"id_8dbecfb8_a699_4d8e_82be_cd9336d35076","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"d3","id":"id_a7ef7191_e91d_4bd2_bcab_963b768cdc48","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"d4","id":"id_96051813_9b2e_4f98_8865_6ccd261c24f2","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_2a46e66c_813a_4200_8aed_1c570403eb84","initValue":null},{"@type":"Input","name":"num","id":"id_025ad4ce_fb3e_4ed0_9f90_cd964612ae80","prompt":"Ingrese el número de 4 cífras"},{"@type":"Assign","name":"d1","id":"id_2f270cdf_8c42_4339_b2c2_efd03d316ab7","value":"num/1000"},{"@type":"Assign","name":"d2","id":"id_93778054_014a_4bba_b8f6_25150eced724","value":"num/100%10"},{"@type":"Assign","name":"d3","id":"id_e04201c2_303c_488f_bb1c_cab36aa161fd","value":"num/10%10"},{"@type":"Assign","name":"d4","id":"id_c62eeb26_a6d9_44d9_b72c_29166743383b","value":"num%10"},{"@type":"Assign","name":"x","id":"id_e56e9f84_fb23_4066_93cf_e5dff2ede3d7","value":"d4*1000+d3*100+d2*10+d1"},{"newline":true,"@type":"Output","id":"id_ab71e627_ddce_472e_9e2e_a68489f8a13f","value":"\"El inverso del número es:\""},{"newline":true,"@type":"Output","id":"id_ff32a96c_4d78_4f71_b293_b9ae71228480","value":"x"},{"@type":"Return","id":"id_1db88773_11e5_47cf_8e8d_211d4dbdb1db","maybeValue":null}],"parameters":[]},"id":"id_b4563f1c_3152_4959_ab2c_fc7f078720dd","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":231}