by @Wichart Manachaimongkol Fork
{"functions":[],"name":"LoopExercise4","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_30a7ca64_ec2a_4c5f_beec_6d21dd3f6ce8"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_a705c65d_3284_4cc2_9c18_200985ac630b","initValue":"0"},{"condition":"x % 2 == 0","@type":"DoWhile","id":"id_349a6557_6d03_41b8_a104_5ad62802882d","body":{"statements":[{"@type":"Input","name":"x","id":"id_75da183c_ecde_4e4e_80fd_ca2943e82bd6","prompt":"Please enter even positive number : "},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_bd8fa23c_f954_4afb_9c93_4bc3cfcfb5ad","value":"\"You enter \" + x + \" is not positive number!\""}],"id":"id_279ee1c2_dc89_47f3_ad54_d0b201890bc0"},"trueBlock":{"statements":[],"id":"id_4ab21ae7_a977_4bd5_9166_b64bd3ac9e46"},"condition":"x > 00","@type":"If","id":"id_0793f012_b70c_485c_a867_9ac75be9fa8e"}],"id":"id_d5f64d4b_a8cf_41a8_8b8d_7f47ec82842c"}},{"newline":true,"@type":"Output","id":"id_7be91c04_dada_49af_8d4c_8bb16c0ebc7e","value":"\"you enter \" + x + \" is odd number!\""},{"@type":"Return","id":"id_8b9e3d3f_8bf7_4282_9327_38e50c8a5d00","maybeValue":null}],"parameters":[]},"id":"id_33806a80_74d5_40de_9a9c_89d518b3d061","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":191}