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?

You are viewing a single comment. View All
iPenguin (7)

https://repl.it/@iPenguin/rock-paper-scissors

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.)