On Tuesday, 29 October 2013 18:35:56 UTC, Robert Gonda wrote: > On Tuesday, 29 October 2013 18:27:41 UTC, ru...@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?
> never mind you was right, for some reason I had version 2.7 :/ , and btw I > was wondering, is it also possible to make it more complex? such as if the > computer will again show āYā if a digit is correct but if a digit is > incorrect it will say "H" as in too high or āLā if it's too low? (while still > keeping "Y"). Do tell me if it sounds confusing :/ -- https://mail.python.org/mailman/listinfo/python-list