Which is better language python or python3 ?which should i learn ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Which is better language python or python3 ?which should i learn ?

its my python starting.

9th Jul 2020, 4:07 AM
Ritu Chaudhary
Ritu Chaudhary - avatar
5 Answers
+ 4
Python 3 ofcourse but why are you asking a open ended thread here you can ask via code or post in activity feed https://www.sololearn.com/discuss/1316935/?ref=app
9th Jul 2020, 4:10 AM
Shino
Shino - avatar
0
Learn python 3. They are very similar but python 2 will only be used less and less over time.
9th Jul 2020, 4:10 AM
Kevin Schow
Kevin Schow - avatar
0
At present, there is no confusion about which Python version to use (undoubtedly it's Python 3.x). There are still many developers out there who continue using python 2.x because some older libraries and packages only work in Python 2. Here are some key differences between Python 2.x and Python 3.x that can make the new version of the language less confusing for new developers to learn: Using the __future__ module The print function Integer Division List Comprehension Loop Variables Unicode xrange function The next() function and .next() method Raising Exceptions Handling exceptions For-loop variables and the global namespace leak Parsing user inputs via input() Returning iterable objects instead of lists Comparing unorderable types http://net-informations.com/python/intro/2vs3.htm
24th Sep 2020, 4:43 AM
ronaldgevern