by @Gonzales, Malou O. Fork
{"functions":[],"name":"Flow5","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_752f09ef_4a72_46d9_b98d_8f9a51e27ba5"},{"@type":"Input","name":"\"Account Balance\"","id":"id_f0f5bdc3_5cf6_4755_94e0_4d168b8e4bf0","prompt":"Please enter x:"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"","lengthValue2":"5","id":"id_b373acce_ce12_4e4c_b71a_abc4184c333a","initValue":null},{"@type":"Input","name":"\"Withdrawal Amount\"","id":"id_ca0346eb_f656_4ade_afc7_9438ca231840","prompt":"Please enter x:"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_896904ab_0b41_4928_8cc4_a4966528222a","value":"\"Invalid Amount\""}],"id":"id_8830549d_916c_4772_9f38_ecd925b55a62"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_09661391_30a5_4ad6_87d9_0f4676b0ea5d","value":"Withdrawal Amount ≤ Account Balance?"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3c3c04f7_0a7d_44c9_a499_ee89a922943d","value":"\"output: Insufficient Balance\""}],"id":"id_0737037c_83d8_4f7d_8114_663334601b7f"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_6f72b082_5a99_4bd9_b6a0_d4499e2e2c93","value":"\"Deduct Amount\""}],"id":"id_879fb0de_d396_4c9a_9530_d02aaa801488"},"condition":"Account Balance","@type":"If","id":"id_7923e7cc_9fb1_4824_9d7a_405bd58482cf"}],"id":"id_78548d0a_aaa2_42bb_bb5c_c2da7f44ba0e"},"condition":"Withdrawal Amount > 0?","@type":"If","id":"id_865c4fc4_b168_4d0e_8178_63abc9782afc"},{"@type":"Return","id":"id_0a8fd589_552c_48ed_b0fc_ffd692cb841f","maybeValue":null}],"parameters":[]},"id":"id_286afd30_77dd_4915_a196_a5d2be439b7f","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"python","showGenCode":true},"version":"0.3","revision":246}