{"functions":[],"name":"process 3","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_30ff0ca4_c095_4447_ae04_c11035382a28"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"age","lengthValue2":"5","id":"id_19a1bf85_95fe_41b5_bb39_69f68e0a73d9","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"movie","lengthValue2":"5","id":"id_43c27a0c_a49d_4e7d_a939_9f843ce53f43","initValue":null},{"@type":"Input","name":"age","id":"id_c9248b49_7199_44bb_b80d_c9a56d7f0b30","prompt":"Enter age: "},{"@type":"Assign","name":"age","id":"id_46e85537_6e41_4760_b465_c7a3b05ae5d3","value":"string2int(age)"},{"newline":true,"@type":"Output","id":"id_90fd0349_5066_452a_bf53_c9552fc866fe","value":"\"Select a movie:\""},{"newline":true,"@type":"Output","id":"id_832c2eec_b35e_4da0_95ad_8215c03d9e2f","value":"\"1. Kid's film 2. Teen film 3. Adult film\""},{"@type":"Input","name":"movie","id":"id_64e82730_c6e4_4ed8_8d2c_3982077370e1","prompt":"Selected movie: "},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_2e12e958_1a68_46d8_9d3a_7cc6a73bc21f"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_03c6f5cd_bc4f_4965_814a_6626a2eda23a","value":"\"Age restricted\""}],"id":"id_c67b99a6_420d_40ff_aaad_14f6ceb22949"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_0495744d_2867_411f_8779_eb3b7d6afebe","value":"\"You may watch\""}],"id":"id_21b59e9e_ce3f_4520_b28a_2cad308755fc"},"condition":"age >= 18","@type":"If","id":"id_744b5373_00af_4b18_b62d_2e2ebfd33f18"}],"id":"id_4293cc45_f8a7_4ecf_890d_ed18fa696da2"},"condition":"movie == \"3\"","@type":"If","id":"id_df1cfc5b_eaf6_468c_9310_aa86854bf48b"}],"id":"id_adae58c0_7c6a_4e41_abbc_25e48e60e70d"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_7e061998_6337_4b0e_a230_34ace6cc8dc6","value":"\"Age restricted\""}],"id":"id_221f3aee_3379_4310_9780_287b768cc8e4"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_bfe07441_42ab_4467_85f5_1b2c660a0ff6","value":"\"You may watch\""}],"id":"id_0dd19a5a_2397_478a_8ac6_9a4847dea369"},"condition":"age >= 13","@type":"If","id":"id_51279e6b_772d_4aac_984a_a60380d35f6f"}],"id":"id_f1c7cc26_b1d9_4a20_872c_8ca4ee054848"},"condition":"movie == \"2\"","@type":"If","id":"id_fcc29e40_db38_46bb_ac4d_fd02204f79b6"}],"id":"id_adb33e42_d035_4f6a_936d_a2761d9f9931"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_82f8202e_7d4e_4517_9440_6f8db7d05cb2","value":"\"You may watch\""}],"id":"id_4603e8cb_517b_45d5_8f15_3b0a5484f4c4"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c9c1cc7a_47d6_4695_b4d1_99938c82e06f","value":"\"You way watch\""}],"id":"id_9ed1776a_56ab_4ddc_a885_cf245378901b"},"condition":"age <= 13","@type":"If","id":"id_21d87a57_74d9_4477_a8c2_daa7345b7a74"}],"id":"id_89faafbe_739f_4459_bec0_2ef0accda6b1"},"condition":"movie == \"1\"","@type":"If","id":"id_31514371_8f36_4366_8a89_97c794ba3c04"},{"@type":"Return","id":"id_66ee7403_a9af_44ca_b3ba_917e674d248d","maybeValue":null}],"parameters":[]},"id":"id_48884679_9c92_4bda_adcc_9be3d11538b7","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"python","showGenCode":true},"version":"0.3","revision":625}