Из основного:
printв 3.х не keyword, а функция.
| Feature | Python 2.x | Python 3.x |
|---|---|---|
print "a string" или print("a string") |
print("a string") |
|
| integer division | 3 / 2 # 1 |
3 // 2 # 1 |
| float division | 3.0 / 2 # 1.5 |
3.0 / 2 # 1.5 |
| user input | raw_input("> ") |
input("> ") |