What Python Version is this Course?


#1

Is the course in python 2 or 3? I thought i read it is in python 2 but this print syntax looks like python 3 again?


FAQ: Learn Python - Python Syntax - Handling Errors
#2

Hi @timmerny,

The course is in Python 2. Using parentheses with print is optional in Python 2, but required in Python 3.


#3

Thanx @zystvan. Is this worth the time or should i invest in learning python3?


#4

The differences are fairly minimal, so I’d complete this course, but write all of your code outside the course in Python 3. Python 2 will stop receiving security updates in a little over year, so it’s best to get in the habit of not using it if you can.