by @biancaballerta21 Fork
{"functions":[],"name":"Sign-Up","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_27916496_fa9b_487d_b31c_79484273fbba"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"username","lengthValue2":"5","id":"id_2df5b8c2_de66_46f5_a9b7_b46ee71ecb4c","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"6","tpe":"String","name":"password","lengthValue2":"5","id":"id_94298410_224b_41dc_9b65_ee9e5a90b5af","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"6","tpe":"String","name":"confirm","lengthValue2":"5","id":"id_67a586be_73ff_4a97_afb7_14049532e611","initValue":null},{"newline":true,"@type":"Output","id":"id_fc8f0ba5_15b8_4aac_93cf_a74b6a9fbbae","value":"\"Create an account\""},{"@type":"Input","name":"username","id":"id_1f7bf62b_acfd_449b_9b00_b2fde91ab930","prompt":"Enter your username: "},{"@type":"Input","name":"password","id":"id_7fbb6441_cc0d_4161_baeb_874b0f89908d","prompt":"Enter your password: "},{"@type":"Input","name":"confirm","id":"id_fe05bea9_b855_4b24_8b7c_545d6c89fb8c","prompt":"Confirm password: "},{"condition":"confirm != password","@type":"While","id":"id_725bc31f_1ade_4b93_bd50_95ec401f5781","body":{"statements":[{"newline":true,"@type":"Output","id":"id_69f2af75_ff46_4fe2_8652_82c779dfb3fc","value":"\"The password does not match. Please try again.\""},{"@type":"Input","name":"password","id":"id_fc812209_1607_4b99_90c5_21f710045e01","prompt":"Enter your password: "},{"@type":"Input","name":"confirm","id":"id_faadcf6f_f3f6_40fc_a871_84db0e8942ed","prompt":"Confirm password: "}],"id":"id_d0b07bc3_d7b6_47ce_a82a_ce7aec38d5e4"}},{"newline":true,"@type":"Output","id":"id_7d2a8611_8a4a_42be_ac80_4cdba18ecd98","value":"\"--- Welcome! \" +username+ \" ---\""},{"@type":"Return","id":"id_87e82450_3d6e_4270_b948_3dee591fe4a4","maybeValue":null}],"parameters":[]},"id":"id_9dbfd036_de9b_427d_929f_9c74aac0d353","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"python","showGenCode":true},"version":"0.3","revision":3404}