Trial and Error with Python

In my advice to newbie programmers, I recommended making sure you were aware of different versions of the languages. The books I had been using as well as my new books, Learn Python the Hard Way, all use Python 2.7.  I have learned that there is some disagreement about whether you should learn Python 2 or 3. The best piece of advice I read was to do the exercises in Python 2 and then rewrite them in Python 3, so that’s what I have been doing.

I’ve been doing a lot of googling but also some trial and error as I learn the basic differences between the syntax. There’s a little thrill when the Python 3 code runs correctly!

Leave a Reply