+ 1

What are the major differences between python 3.X and 2.X?

the biggest diiference I know is the change of print sentence from being a statement in 2.7 and a function in 3.X. any thoer differences?

24th Mar 2017, 9:52 PM
Maged Saeed
Maged Saeed - avatar
4 ответов
+ 14
The biggest difference is that Python 2.7 will be discontinued, while 3.6.1 is still developed. Also, some glitches were removed and many internal mechanisms were optimized between 2.x and 3.x to reflect changing hardware and software environment. Python 2.x will became obsolete for new developments, but will continue to thrive for a couple of years in currently existing projects.
24th Mar 2017, 10:23 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 2
the main differenve is that the library you liked the most with pyton 2.7 is incomatible with python 3 or if it is compatible, it's only until python 3.x and you realize it as soon as you have installed the latest and more incompatible version.
25th Mar 2017, 12:10 AM
seamiki
seamiki - avatar
+ 1
The only one I know is that print "Some text" went to print("Some text").
24th Mar 2017, 10:14 PM
Karlo
Karlo - avatar
0
same as myself :)
24th Mar 2017, 10:16 PM
Maged Saeed
Maged Saeed - avatar