by @Luzeny Rodríguez Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_78de8c67_bdf9_41bc_b5ca_4ee42341591f"},{"@type":"Declare","tpe":"Real","name":"longitud","id":"id_c8339f10_7814_4b12_ab05_a5133e037bf0","initValue":null},{"@type":"Input","name":"longitud","id":"id_489abc39_83d2_4275_9ac6_156c5645edc6","prompt":null},{"@type":"Declare","tpe":"Real","name":"ancho","id":"id_4db65425_498f_495a_803d_c9f9ec6e6fac","initValue":null},{"@type":"Input","name":"ancho","id":"id_cea9d769_fe9c_4269_b950_c96d8ffbcea3","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_2c05fa41_31b1_40fd_a55c_2c814fe4edeb","value":"\"no es rectángulo\""}],"id":"id_02bb5434_f5a7_49b6_a1aa_e87020ae58ee"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"area","id":"id_e8e45fa5_0d77_4472_8730_6c53e1ca1423","initValue":null},{"@type":"Assign","name":"area","id":"id_9b875a39_5647_49b2_b227_bc800ad67966","value":"longitud*ancho"},{"@type":"Declare","tpe":"Real","name":"perimetro","id":"id_c6b7f62e_7d08_41be_a894_19e5d2e82686","initValue":null},{"@type":"Assign","name":"perimetro","id":"id_53bc44ec_d0f3_4bd2_99bb_d3ba0ab43cc1","value":"2*(longitud+ancho)"},{"newline":false,"@type":"Output","id":"id_db354db7_783a_40cf_82b7_cdcfe5d32dff","value":"\"El área del rectángulo es \""},{"newline":true,"@type":"Output","id":"id_640cbefe_e4f7_45fe_b4d5_7c5d250ed4b5","value":"area"},{"newline":false,"@type":"Output","id":"id_dd1a9456_19f2_490b_94e6_ee5370477cf0","value":"\"El perímetro del rectángulo es \""},{"newline":true,"@type":"Output","id":"id_3bcc383c_3e49_4796_b097_1990979f7789","value":"perimetro"}],"id":"id_030ab5ce_94e4_4eba_9fcf_e07622537c21"},"condition":"ancho>0","@type":"If","id":"id_66cf944d_29ed_4f7c_b0e4_a0d2d4d0045c"},{"@type":"Return","id":"id_1142ed1a_d822_4746_8d62_47e3b351ab94","maybeValue":null}],"parameters":[]},"id":"id_d32f06e8_e4a9_488a_a732_78c22e0fc98e","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":638}