Whats the difference between python2 & python3 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Whats the difference between python2 & python3

please tell me what is the difference between python2 and python3 and who its the better??!!

16th Apr 2018, 1:32 PM
before
4 Answers
+ 7
The difference is the inclusion of new features in the new versions of the language (there are also elements of Python 2 deprecated in new versions of the language, as far as I know). And obviously the most recent version (Python 3) is the most recommended, since after 2020 Python 2 will not have support.
16th Apr 2018, 1:38 PM
Mickel
Mickel - avatar
+ 2
As with most languages with varying versions, the only difference between Python2 and Python3 is that Python3 adds new functions and syntaxes and gets rid of some of the more useless statements.
16th Apr 2018, 1:35 PM
Faisal
Faisal - avatar
+ 2
🔼Most major software packages now work on Python 3 🔼Django recommends using Python 3 and new versions no longer support Python 2 🔼Development on Python 2.7 itself will stop after 2020🤔 🔼The short answer is that if you’re a beginner, you should focus on Python 3. ⏩Now Python 3 has very big community support and gradually it increases rapidly, Python is so popular due to one of the reasons that it has very rich libraries which helps Programmer with less coding is needed due to a lot of ready coding supports are available in it's libraries and day by day it's also increasing heavily. ⏹So as a new learner it's always acceptable where changes and development are done with time to adjust with changes and market demands. 🔽On the other hand after 2010 no further progress is made on Python 2 and Libraries development are also stopped from 2016. https://www.sololearn.com/discuss/1067691/?ref=app ⏸The short answer is that if you’re a beginner, you should focus on Python 3. And if you’re an experienced programmer, unless you are inheriting a legacy software project, you should also use Python 3 for your future software projects. https://www.sololearn.com/discuss/1067691/?ref=app
16th Apr 2018, 3:00 PM
📈SmileGoodHope📈
📈SmileGoodHope📈 - avatar
+ 1
thanks for all response
17th Apr 2018, 2:50 PM
before