by @jacopopetta Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_f3e032b3_0825_45e1_9aa1_7d541a2166a5"},{"@type":"Declare","tpe":"Integer","name":"numeropositivo","id":"id_068a0d12_9331_48d9_8bf6_d5332a075434","initValue":null},{"@type":"Declare","tpe":"Integer","name":"numerodispari","id":"id_881ca6b0_7aa1_487f_a1f9_25380b89ce8f","initValue":null},{"@type":"Input","name":"numeropositivo","id":"id_28ace005_0980_4e87_b2c6_9a70e0754618","prompt":null},{"@type":"Input","name":"numerodispari","id":"id_399f2ceb_8e1c_400c_af00_c49a72e371f6","prompt":null},{"falseBlock":{"statements":[],"id":"id_e2c763c7_ee3c_4833_8797_0df16f9bdaa5"},"trueBlock":{"statements":[{"@type":"Assign","name":"numeropositivo","id":"id_754702a1_df34_429c_84ef_73f1da90116a","value":"numeronegativo-1"}],"id":"id_f2d99674_8b62_405b_a81a_90194353ccea"},"condition":"numeropositivo==numerodispari","@type":"If","id":"id_fab140bd_5d60_466c_b0f1_17cf3c60f9fe"},{"condition":"numeropositivo>=0","@type":"DoWhile","id":"id_d4cc7992_ebb8_46d4_bcbc_583a5f0dd867","body":{"statements":[{"newline":true,"@type":"Output","id":"id_f6f6646a_d133_4dd8_9e7f_354f7b160a57","value":"numeropositivo"},{"@type":"Assign","name":"numeropositivo","id":"id_a539c6ed_1046_44eb_a716_40071c702b38","value":"numeropositivo-2"}],"id":"id_764b698e_22cb_4b74_be0a_6e0d60682db6"}},{"@type":"Return","id":"id_5573562e_4ecd_42ed_b07d_dea81012be0c","maybeValue":null}],"parameters":[]},"id":"id_9f3716cb_f693_43c3_bf67_abb0fd15aeec","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":510}