On 01/03/14 17:16, Alan Gauld wrote:

Scott W Dunning <swdunn...@cox.net> writes:

def get_guess(guess_number):
     print "(",guess_number,")""Plese enter a guess:"

Aren't you missing a comma before the last string?

I just realized it will work because Python auto joins adjacent
string literals. But in this case you should probably just
remove both quotes and make it more readable.

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to