I don't know why my try and except isn't working properly. I want it to continue anytime the user inputs either the string "y" or "n", but if the user doesn't input any of those then print the error.
output:
userInput = input("Are both players ready to start? (y/n): ")
k (userInput)
Here we go!
expected output:
userInput = input("Are both players ready to start? (y/n): ")
k (userInput)
Wrong Input, Try Again
try:
if userInput == "y":
print("Here we go! ")
print()
elif userInput == "n":
print("Too bad we're starting anyways")
except:
print("Wrong Input Try Again)