Python2 vs Python3 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Python2 vs Python3

7th May 2017, 4:42 PM
Ritwika Panda
Ritwika Panda - avatar
5 Answers
+ 5
I think as a language Python3 is strictly better, but there are still many libraries for Python2 out there, which have not yet been translated to 3, so it might be wise to learn both. Best practice in coding then would be to write code, which is easily modified to work with the other version, if you don't have a specific reason not to do so.
7th May 2017, 5:12 PM
Tob
Tob - avatar
+ 3
the main difference is that Python2.7 will lose support by 2020. while python3 will continue
7th May 2017, 4:44 PM
Ritwika Panda
Ritwika Panda - avatar
+ 2
It's sort of similar to every informatic program and software that you know, that renovates to stay at the pace of its time (just look at Microsoft/s Windows or Apple's iOS)
7th May 2017, 4:58 PM
Julien
Julien - avatar
+ 2
Python 3 but not the latest version.
7th May 2017, 6:01 PM
seamiki
seamiki - avatar
+ 1
Python 3 TOP!
17th May 2020, 3:55 PM
Питонолюбитель
Питонолюбитель - avatar