by @Kenneth Lim Fork
{"functions":[],"name":"p5","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_868076c8_f8a2_48eb_a80d_31fbff4d5c18"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"choice","lengthValue2":"5","id":"id_7373b829_0702_4730_8207_8d758ca053c7","initValue":null},{"newline":true,"@type":"Output","id":"id_513d76e7_e071_4024_9ce2_0527c06585f0","value":"\"--- MENU ---\""},{"newline":true,"@type":"Output","id":"id_082faf4f_61d9_4123_b133_55cfcf147ba0","value":"\"1. Say Hello\""},{"newline":true,"@type":"Output","id":"id_97c2c5f0_c41c_4b86_92da_1b13a3a88ac5","value":"\"2. Say Goodbye\""},{"newline":true,"@type":"Output","id":"id_d5db235f_14fc_4250_a8f2_5d9164c12aff","value":"\"Enter choice (1 or 2):\""},{"@type":"Input","name":"choice","id":"id_e970e042_5939_4f3b_9821_6247d5cbdbbd","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_477476e0_f4eb_445b_b943_27cb89f56659","value":"\"Invalid selection. Please run again.\""}],"id":"id_498d4620_7d1b_4fa7_b1a2_4522ab7bd83c"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_35ee71d7_7a2a_4273_bfb9_8946f2a66757","value":"\"Goodbye! Have a great day.\""}],"id":"id_3d74e99c_dfeb_4767_9cc5_b178d985d86f"},"condition":"choice == 2","@type":"If","id":"id_fce95f75_c608_4380_b436_9ee6c9456a22"}],"id":"id_c9d69905_5444_48b4_a2dc_267373856968"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_fad93411_3cf0_42a1_a451_7f0b66a04b94","value":"\"Hello! Welcome to Python programming.\""}],"id":"id_d4aac188_77dd_4412_af7a_09cc72ba55a4"},"condition":"choice == 1","@type":"If","id":"id_bdc3adfc_2623_4e00_b448_ee67dd6ce3e8"},{"@type":"Return","id":"id_168005d4_4a31_4f77_9281_23233ddc3e5b","maybeValue":null}],"parameters":[]},"id":"id_2eb8b9f6_fe39_4cee_8747_ef31d41160e3","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"python","showGenCode":true},"version":"0.3","revision":27}