by @Pavel Bazhutov Fork
{"functions":[],"name":"Pavel Bazhutov 10/12/24","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_a087e6b7_6bb6_455c_a1b6_1cf39c1cd338"},{"@type":"Comment","id":"id_b2e09822_69d2_4ed3_b288_2e169d93a5bd","text":"Author: Bazhutov Pavel 10/12/24"},{"@type":"Declare","tpe":"Real","name":"weight","id":"id_2d2da88b_1fa6_415a_93a3_3ec1a042eb87","initValue":null},{"@type":"Comment","id":"id_62eb2a4e_82fe_4294_98c8_32a30fc37743","text":"declaring and inputting the var weight"},{"@type":"Input","name":"weight","id":"id_2452789d_d459_4c9c_a630_9c44e8f2aa16","prompt":"Please, enter the weight of the package"},{"@type":"Comment","id":"id_fedbd772_e811_4a4d_935c_2443f6335d1f","text":"We check the first condition that package is less than 2 lb. After that, we check every other condition."},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":false,"@type":"Output","id":"id_7fefad17_bd3a_4548_8c12_f5da658c4ecb","value":"\"the delivery price is: \""},{"newline":true,"@type":"Output","id":"id_fc6c0f5b_e353_4b5e_aaf8_73dab8578eb8","value":"\"$3.80\""}],"id":"id_618f9d1e_1d74_4a18_9d10_1613f1f1d712"},"trueBlock":{"statements":[{"newline":false,"@type":"Output","id":"id_d122def8_eb8b_4943_bc1f_75d785ee7701","value":"\"the delivery price is: \""},{"newline":true,"@type":"Output","id":"id_bfe346c0_3a7b_41c2_9f38_567adbd5d428","value":"\"$3.70\""}],"id":"id_13e0c2a4_eb8f_4306_ac32_e67bf1badbd6"},"condition":"weight <= 10","@type":"If","id":"id_06e2dccc_1971_4c03_9732_9c1b9f364ee8"}],"id":"id_de499883_7465_40c1_82ac_d4d7d145fc23"},"trueBlock":{"statements":[{"newline":false,"@type":"Output","id":"id_7ce84b76_27e3_4bb2_8b7e_26818b31ef09","value":"\"the delivery price is: \""},{"newline":true,"@type":"Output","id":"id_db0c4ba7_0df8_453e_93b5_078eaa3b782f","value":"\"$2.20\""}],"id":"id_4c62080b_9c15_4de6_9a70_4e45c39aafaf"},"condition":"weight <= 6","@type":"If","id":"id_a3c13acc_f953_448a_b5eb_39fec2301903"}],"id":"id_aeb0fc2f_911c_497b_bf62_91a26e1e2c87"},"trueBlock":{"statements":[{"newline":false,"@type":"Output","id":"id_fa918645_3467_415d_8c6c_a13a303608a6","value":"\"the delivery price is: \""},{"newline":true,"@type":"Output","id":"id_b210e476_d452_4375_b722_9dba41a2cbad","value":"\"$1.10\""}],"id":"id_b89fc361_bfd9_4caa_96d0_ba6ab65e38f4"},"condition":"weight <= 2","@type":"If","id":"id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408"},{"@type":"Return","id":"id_15ce2b5a_e4e8_4b34_9a11_c9c401fcf926","maybeValue":null}],"parameters":[]},"id":"id_7c523bc6_4e88_4089_9941_e0f167e29c27","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":553}