|
|
|
|
|
by yammajr
2800 days ago
|
|
maybe not removed, but they certainly did make breaking changes to the language. here are some of the most obvious python 2: print "foo" # foo
3 / 5 # 0
apply # <built-in function apply>
python 3: print "foo" # SyntaxError: Missing parentheses in call to 'print'
3 / 5 # 0.6
apply # NameError: name 'apply' is not defined
|
|