How can i fix this error
Run the code and first type sign up then answer the following question until you get a error. how can i fix this error
This is an example.
try: number = int(input("Enter a number: ")) print(number) except(ValueError): print("Invalid Input")
So under the try: you give what you want the program to do. Then if there is an error with that, then it will not shut down but it will do what is in the except:
I put ValueError next to except because I only wanted it to except a value error.
it's not allowing me to sign up either. I type sign up, it says invalid syntax.