Code Editor

Control Flow Know-How

Good! There were two problems with our output, though: we didn't have spaces between our words, and our program didn't actually replace the word we wanted to redact with the word "REDACTED".

if var == 10 print "Variable is 10" else print "Variable is something else" end

We can fix that with some if/else magic! The above example just reminds you how an if/else block works.

Report a Bug
If you see a bug or any other issue with this page, please report it here.