Ask coding questions

← Back to all posts
How to repeat code? (Make it restart)
Mendelevium (42)

Maybe I am crazy, but I can’t figure out a way to make the code repeat. I’ve tried everything!
Does anyone know how to do this?

iPenguin (7)

All you need is a while true loop. This makes it so that it will repeat the code if [yes]. Other examples of the while loop are (repeat if [variable is greater than 12]). The link above is a fork I made with the loop. Nothing else is changed except for typos ("ebter," etc.)