[Tutor] Help

Oscar Benjamin oscar.j.benjamin at gmail.com
Wed Mar 13 22:39:35 CET 2013


On 13 March 2013 15:12, Joshua Wilkerson <joshjwilkerson at yahoo.com> wrote:
> Can you help me with something? This code (it also draws from the text_game
> file) says it has a syntax error, but I can't seem to find what it is, I
> think the code is having a fit but I'm not sure. I'm appreciative to all
> hep.

Could you perhaps copy and paste the entire error message here?
Usually it says the line on which the error occurs, shows that line
and a pointer to where there error is, e.g.:

$ python tmp.py
  File "tmp.py", line 9
    [count+=1 for n in range()]
           ^
SyntaxError: invalid syntax


Oscar


More information about the Tutor mailing list