Python 3 introduced several breaking changes from Python 2:
print "hello"
vs print("hello")
5/2
returns 2.5
in Python 3, 2
in Python 2range()
returns an iterator in Python 3raw_input()
was renamed to input()
Python 2 reached end-of-life in 2020, so Python 3 is the current standard.