by @GUSTAVO CERVANTES Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_abbf5776_1193_464a_9422_8a6522767841"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"precio","lengthValue2":"5","id":"id_e6dac68c_3f7e_47d4_9f97_458dd506300a","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"descuento","lengthValue2":"5","id":"id_de3f744c_76b4_4fd0_9dcc_43bde1d72224","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Pfinal","lengthValue2":"5","id":"id_906be0cb_d9d0_4a52_8d71_1abb9985cb90","initValue":"0"},{"newline":true,"@type":"Output","id":"id_bc2987c4_b6aa_4f27_8414_88da9e9e198a","value":"\"¿Cuál es el precio del traje\""},{"@type":"Input","name":"precio","id":"id_b7280e51_bad2_49f7_abfd_a274ae3ee951","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"descuento","id":"id_4e4dffe8_68ac_43a4_8e7d_3959de76b2c9","value":"precio * 0.08"},{"@type":"Assign","name":"Pfinal","id":"id_04ae40a4_a3fc_4e74_8ed1_70efa18fda8c","value":"precio - descuento"},{"newline":true,"@type":"Output","id":"id_9e28dec8_97f2_4a6e_b7ba_8a5c980b3a1f","value":"\"El precio final es de $\"+ Pfinal + \" con un descuento del 8% (\" + descuento + \")\""}],"id":"id_03cea7d6_6520_4ee6_a31e_26f61e0056b4"},"trueBlock":{"statements":[{"@type":"Assign","name":"descuento","id":"id_47f1cace_097f_47c3_9af9_5cd52d0f1326","value":"precio * 0.15"},{"@type":"Assign","name":"Pfinal","id":"id_6604de0c_9807_43fd_b78a_0fce6d913293","value":"precio - descuento"},{"newline":true,"@type":"Output","id":"id_5fd0a891_16c3_4589_a0ea_ff16ee77da88","value":"\"El precio final es de $\"+ Pfinal + \" con un descuento del 15% (\" + descuento + \")\""}],"id":"id_3c2b8e82_918d_4fa6_a373_590e826e759a"},"condition":"precio > 2500","@type":"If","id":"id_0005449c_5119_4288_96dd_58796f8ff385"},{"@type":"Return","id":"id_29e10f8d_fbc3_4506_976e_018f522ed89a","maybeValue":null}],"parameters":[]},"id":"id_a8e396ff_1e21_4bd1_8c16_32a6d74f698f","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"python","showGenCode":true},"version":"0.3","revision":1031}