[Tutor] Issue with Python 2.7.2 - beginner needing help

2012-01-10 Thread Mike G
Hi Tonyelle Your code doesn't work as expected due to your 2nd edition book uses Python 3x, see page xi, 'Changes in this edition'. This would work for your version of Python... room = 503 print 'I am staying in room number', room If you're new, Python 2.7.2 is (IMO) a better choice, many more

[Tutor] Issue with Python 2.7.2 - beginner needing help

2012-01-10 Thread tonyelle
Hello! I am just beginning to learn Python from the book Starting Out With Python - 2nd Edition.  I have read and completed exercises up to page 45. I am currently learning how to display multiple items with one call to the print function.        ex: 1 # This program demonstrates a variable.