Python 2.0 was released in Oct 2000. Introduced ‘list comprehensions’ features. Python 2.0 supports garbage-collected features.
Python 3.0, also called ‘Python 3000 or Py3k,’ was released on Dec 3, 2008. The guiding principle of Python 3 was “reduce feature duplicates by removing old ways of doing things.”
There were some major changes in Python 3.0:
- In Python 3.0,
print
changed into a built-in function; before that,print
was a statement. - In Python 3.0, the
raw_input
function is renamed into theinput
function. - In Python 3.0, the
reduce
function moved intofunctools
; before thatreduce
function was built-in namespace.
The current version of Python is 3.12.4. Always check the official Python.org website for updated Python versions.