is there any any difference between Python 2 .7 and Python 3 | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 8

is there any any difference between Python 2 .7 and Python 3

28th Sep 2016, 4:42 PM
Athul Joy
Athul Joy - avatar
3 Réponses
+ 2
yes there is some difference..In python 3 print statement is given in paranthesis where python 2.7 is not
26th Oct 2016, 12:02 PM
Jim Joseph
Jim Joseph - avatar
+ 1
there are multiple differences. some minor formatting differences, for example in Python 2 you can print by doing print "hi" whereas in Python 3 it would be print("hi") Python 3 also has more capabilities
28th Sep 2016, 4:59 PM
freginold
freginold - avatar
0
yes there are some difference between python 2.7 and 3. For example: raw_input() in python 2.7 input() in python 3
29th Sep 2016, 2:27 PM
Zoljargal Gantumur
Zoljargal Gantumur - avatar