How do you restart your game???

Pleas someone help me!!!
I cant figureout how to make my game stat over again. Can someone show me a code i can use?

You are viewing a single comment. View All

@callmebk Add def start(): to the beginning of your code, and indent the entire file except for the first line by 1 tab. Then, add start() the end of the file twice and indent the first start() by 1 tab.

This will create a function around your game and run it when the repl starts and when the function ends.