I'm fairly new to Python. I have the following if statement:
if(userGuess == "0" or userGuess == "1" or userGuess == "2" or userGuess == "3" or userGuess == "4" or userGuess == "5" or userGuess == "6" or userGuess == "7" or userGuess == "8" or userGuess == "9"):
print("\n>>>error: cannot use integers\n")
continue
Basically, the loop will reset if the user inputs any numbers. Is there any way to write this statement to make it a little more efficient? (i.e less code and cleaner)