+ 1
Hello, who knows the great difference between python 2.7 and python 3.6 ??
3 Réponses
+ 4
For me it’s the input() ( raw_input() in 2.7 ) and print(x) ( print x in 2.7 ).
But I think there are many more :/ Check 3.6 and 2.7 documentation of python
+ 2
there isn't much.
no more xrange in 3
print is without ( ) in 2
modules differ between versions and some modules are only for certain versions
there are lots of explanatory videos and articles on the subject
0
the syntax, with Python 2.7 you can omit ( ) or Python 3.6 did not allow it