by @Daniele Barducco Fork
{"functions":[],"name":"BarduccoDaniele_resistori||Req","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_41c59095_8d12_475c_9efe_34783e67521d"},{"@type":"Comment","id":"id_58772476_a071_4d06_b196_2177a14c374c","text":"benvenuto"},{"newline":true,"@type":"Output","id":"id_030b980b_a2dc_436a_8e5c_813f0eb445f3","value":"\"calcolo il parallelo di un numero qualsiasi di resistori\""},{"@type":"Comment","id":"id_ee1fa215_2e11_44b5_b62b_a906285e82d4","text":"dichiarazione variabili"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"scelta","lengthValue2":"5","id":"id_6c154b27_b73b_48d2_afa0_6a01330f89c0","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"resistenza","lengthValue2":"5","id":"id_3a6d836e_60b7_4022_98d6_22f098a1b88f","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"accumulatore","lengthValue2":"5","id":"id_efe4cfde_45bf_41db_bced_a357fac678a4","initValue":"0"},{"@type":"Comment","id":"id_3faf0ad3_cf49_4c1c_b78a_e1d33ec8598b","text":"istanza problema"},{"newline":true,"@type":"Output","id":"id_1493ab5e_8fce_4ec0_b39a_0cb925a59f99","value":"\"scegli se continuare, Digita Si = 1 ; No = 0\""},{"@type":"Input","name":"scelta","id":"id_10da17e2_f26e_4c41_8642_916aacf5af3b","prompt":null},{"condition":"scelta != 0","@type":"While","id":"id_c5ecd110_ae98_4e80_a552_ba06fad64a00","body":{"statements":[{"@type":"Comment","id":"id_7c9a0cdb_e613_48f7_b835_252f4459074a","text":"scelta resistori"},{"newline":true,"@type":"Output","id":"id_08ebee7c_a15b_45e4_8936_59c090046432","value":"\"inserire il valore della resistenza:\""},{"@type":"Input","name":"resistenza","id":"id_7a2d9beb_9371_4652_b749_221a1e1484d4","prompt":null},{"@type":"Comment","id":"id_3ecda0a6_5986_4439_908e_8e969c004e46","text":"calcolo"},{"@type":"Assign","name":"accumulatore","id":"id_992ce4f0_2b5d_4cec_8e00_c9fe8e188d34","value":"accumulatore + 1/resistenza"},{"@type":"Comment","id":"id_183f637e_ac4e_43f0_bbbe_093708e0c42e","text":"richiesta"},{"newline":true,"@type":"Output","id":"id_b348707c_5b7b_4e8a_a61f_90ef7a076b8e","value":"\"continuare? Digita Si = 1; No = 0\""},{"@type":"Input","name":"scelta","id":"id_6ab76e0e_f556_4580_a2b6_726edef8c3f5","prompt":null}],"id":"id_8506e2f5_f1ab_4d72_adcf_1e2c6b3eca34"}},{"@type":"Comment","id":"id_b8d8ffc1_a46f_4006_a2f6_5d8eca2ec317","text":"risultato"},{"newline":true,"@type":"Output","id":"id_495380f0_ebc8_43d6_8a3b_e1dd19e49355","value":"\"la Resistenza Equivalente รจ:\""},{"newline":true,"@type":"Output","id":"id_225de7b4_bd60_4936_9868_6a12102c7c5f","value":"1/accumulatore"},{"@type":"Return","id":"id_317e102b_49d9_40e4_82ce_c3cf8bd1dee6","maybeValue":null}],"parameters":[]},"id":"id_f07748eb_0559_49c1_819b_155fb0017f2d","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"python","showGenCode":true},"version":"0.3","revision":970}