Difference between Python 2 and Python 3?

Hello, I am a beginner in programming, I was looking for courses and realized that there are 2 courses in Python: (Python 2 and Python 3).

My question is should I learn Python 2 before Python 3 and what are the differences ?

Thank you very much!

Hi,

I would recommend you learn Python 3.
The difference between the two is that Python 3 is the latest version (Python 2 is older).

There are significant differences between Python 2 and 3.

Having said that, it depends on what you would like to achieve.
You will find that some things require Python 2. However, Python 2 reached its ‘End of Life’ in January 2020.
Therefore, you will find Python 3 is much more common.

Hope that helps!

1 Like

Thank you very much. Your reply was useful!

regards.

1 Like