while True:
try:
a = float(input("Enter a number for how long the break between words should be:")
except ValueError:
print("YOu haven't entered a number")
After I execute it:
File "main.py", line 7
except ValueError:
^
SyntaxError: invalid syntax
Why do I get this error?
You're missing a closing parenthesis at the end of this line:
a = float(input("Enter a number for how long the break between words should be:")
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments