I want to input a time in the form HHMM to one of my programs in Python but when I do, I get
"SyntaxError: invalid token",
I think this is because it is not a valid octal number, as I have seen on other websites, for example.
The code I'm using is:
time1 = float(input("Please enter time 1:"))