Help with guessing game :D
Robert Gonda
robertgonda1994 at gmail.com
Tue Oct 29 14:35:56 EDT 2013
On Tuesday, 29 October 2013 18:27:41 UTC, ru... at yahoo.com wrote:
> On Tuesday, October 29, 2013 11:45:56 AM UTC-6, Robert Gonda wrote:
>
> > Thank you very much for your reply, however it gives me an error,
>
> > something about the "end", do you know whats wrong with it?
>
> > (Still not sure if im posting this right so sorry)
>
>
>
> "...an error, something about the 'end'" is not much to go on. :-)
>
>
>
> Most of the time, when there is an error in a python program,
>
> Python will print "traceback" error message. When asking for
>
> help please copy and paste those lines in your post. Without
>
> that it is just a guessing game for anyone to try and figure
>
> out what is wrong.
>
>
>
> Did perhaps your traceback message look like this?
>
>
>
> File "xx3.py", line 28
>
> print ("digits matched: ", end='')
>
> ^
>
>
>
> If so, you are running your program with python2, not python3.
>
> So you need to either figure out how to run python3 (does entering
>
> the command "python3" do anything?) or change the program to work
>
> with python2.
>
>
>
> If the error message was different than above, you need to post
>
> it here if people are to have any chance of helping you figure
>
> out what is wrong.
> It says that there is an error in this program and something about invalid syntax, should i perhaps redownload it?
More information about the Python-list
mailing list