+ 8
is there any any difference between Python 2 .7 and Python 3
3 Réponses
+ 2
yes there is some difference..In python 3 print statement is given in paranthesis where python 2.7 is not
+ 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
0
yes there are some difference between python 2.7 and 3.
For example: raw_input() in python 2.7
input() in python 3