I have tried to use the 'quit()' function in python and the spyder's compiler keep says me "quit" is not defined
print("Welcome to my computer quiz")
playing = input("Do you want to play? ")
if (playing != "yes" ):
quit()
print("Okay! Let's play :)")
the output keep says me "name 'quit' is not defined", how can i solve that problem?