On 09/01/14 08:52, Tihomir Zjajic wrote:
Please, can you help me convert this code from python 3 to python 2.6
The main gotchas are that 1) input in Python 3 -> raw_input() in Python 2 2) print (XXX) in Python 3 -> print XXX in Python 2 Start from there then read any error messages and fix as needed. HTH-- 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