by @Paul Craven Fork
{"functions":[],"name":"password","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_3c91434f_d469_4002_8a4a_b749666d10c2"},{"@type":"Declare","tpe":"String","name":"password","id":"id_fd04d2c3_bae6_4828_b6c5_d44dad5a00fa","initValue":"\"johnson\""},{"@type":"Declare","tpe":"String","name":"guess","id":"id_d487a328_6f5a_4e0e_9a07_468695aea188","initValue":"\" \""},{"@type":"Input","name":"guess","id":"id_b3419a52_ed0c_4fd3_8d1c_1747386be5e1","prompt":"\"Enter a guess\""},{"condition":"guess != password","@type":"While","id":"id_577ecafc_3b76_485d_bdc4_91e8eb251307","body":{"statements":[{"newline":true,"@type":"Output","id":"id_71d24f10_5bfa_4cd7_a92b_f1aa6ea6383c","value":"\"nope, try again\""},{"@type":"Input","name":"guess","id":"id_65d47f52_a1bb_4d76_bc76_bca63464872a","prompt":"\"Enter a guess\""}],"id":"id_7fb16b71_dacf_4790_8281_16678faa5409"}},{"newline":true,"@type":"Output","id":"id_0d68fc0f_5d2c_4d54_b875_db45a63fa6a6","value":"\"well done!\""},{"@type":"Return","id":"id_30ba91d9_d8dd_4dc6_97bc_77b6048e2dc5","maybeValue":null}],"parameters":[]},"id":"id_74fca24d_3586_4479_8a40_59a1a6773ec2","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":124}