Not sure why I am getting this error on this code:, if I remove the last print statement, it works. It also works fine in Sublime text, just not on the platform.
File “script.py”, line 14
SyntaxError: unexpected EOF while parsing
This is what the code looks like:
Then when I try to add the rest of the code I get Syntax error:
can someone explain why? I’m really not sure why it would say variable = range(x,y) would be wrong syntax. I’ve looked for it on external forums but the syntax seems okay?
File “script.py”, line 15
audio_tour_number = range(7)
SyntaxError: invalid syntax