Is there any major difference between python 2.7 and python3.0? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Is there any major difference between python 2.7 and python3.0?

6th Jun 2017, 5:54 PM
#Ńïśhàñť MJ
#Ńïśhàñť MJ - avatar
3 Answers
+ 1
@kuba i think the answer does not provide syntax changes etc there are some changes like print migrated from a statement to a function the ( ) are compulsory in python 3 some modules have been merged like urllib1 and urllib2 became urllib some methods have been renamed like operator.div to operator.truediv some modules have been renamed like Tkinter to tkinter some deleted like xrange and others . . . should not be an issue if you are starting with python3
6th Jun 2017, 7:17 PM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
6th Jun 2017, 6:05 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 6
Sure thing, @Abdur-Rahmaan. I just think those are very detailed pieces of information, which although precise and True, might not tell anything to a newbie :)
6th Jun 2017, 7:23 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar