[Tutor] help
Alan Gauld
alan.gauld at btinternet.com
Thu Jan 9 12:20:38 CET 2014
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
More information about the Tutor
mailing list