by @Michele De Rosa Fork
{"functions":[],"name":"Positivi e negativi pp.131 n.1","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_5fce7e62_5d0d_495e_b197_f325b5196c1e"},{"@type":"Declare","tpe":"Integer","name":"numero","id":"id_0b4ae0be_2b6f_4287_a42c_545cd3be83a5","initValue":null},{"@type":"Declare","tpe":"Integer","name":"negativi","id":"id_7b88dc30_2628_4b16_8cf5_c716291d8f47","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"positivi","id":"id_eb542794_ba9d_40d1_b767_9b88ebeb29b3","initValue":"0"},{"varName":"i","incr":"1","@type":"ForLoop","start":"1","end":"5","id":"id_24e66601_6923_4126_8c7f_7bfededdd42c","body":{"statements":[{"@type":"Input","name":"numero","id":"id_df6a1dc2_a15c_45f4_b9e6_d28bb924c512","prompt":"Inserisci numero"},{"falseBlock":{"statements":[{"@type":"Assign","name":"negativi","id":"id_93572605_c2a2_419a_b5f7_7d9f24a5523e","value":"negativi + 1"}],"id":"id_d69f306d_952b_4118_ba9e_b685f30213f7"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"@type":"Assign","name":"positivi","id":"id_80667186_e35a_42bb_9496_ca15033a523c","value":"positivi + 1"}],"id":"id_04319383_7288_465c_9eaa_f6607cdcb18a"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b73f47bf_ac13_40bb_afd4_0043210c6769","value":"\"Numero nullo!\""}],"id":"id_5b59a6b8_71fe_4d97_abf3_b8047d74fec9"},"condition":"numero == 0","@type":"If","id":"id_4201aa38_041a_4c8f_943f_c4c6d0235cdf"}],"id":"id_3527f996_3035_4f03_871d_ba3613a2e331"},"condition":"numero >=0","@type":"If","id":"id_b939b0dd_7ab3_4856_8355_3ce23cd260a4"}],"id":"id_ec64e228_36ab_43ca_80f1_6bcb57aca424"}},{"newline":true,"@type":"Output","id":"id_bbe2d1b0_3a79_4987_9604_9c6592b3d18e","value":"\"Numeri positivi \" + positivi + \". Numeri negativi \" + negativi"},{"@type":"Return","id":"id_ab8fb3ca_7a37_44b1_8e2f_e9bc9667cc9d","maybeValue":null}],"parameters":[]},"id":"id_a6112035_71c2_44b6_b1cc_b4ad1b41e74b","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":false,"lang":"python","showGenCode":true},"version":"0.2","revision":366}