Python versions
Now that we know that What is python? So, lets learn about some of the versions of Python.
Python 2:
The final version of Python 2, version 2.7, came out in 2010. Although Python 3 is the largest generation of the language, many programmers still use Python 2.7.
One advantage of Python 2 is that it has been around longer that Python 3, so there's more technical support and help available.
One minor difference between Python 2 and Python 3 is that in Python 2, print is treated as a statement instead of a function, therefore there's no need to pass arguments through parentheses, for example:
Print ' Python 2'
Python 3:
Python 3 was released in 2008 with the goal of making Python an easier language to use.
In Python 3, we must pass the items we want to print explicity to the function in parantheses as follows:
Print ('Python 3')
Python 3 is the first Python release which is incompatible with previous versions, which is why some programmers still use Python 2, since certain packages and libraries they rely on to be an improved version of Python 2, with fewer mistakes and easier for beginners to understand and use. Our goal is for you to learn the newest version.
As a beginner, your best bet is Python 3. That is the standard that's advancing slightly faster and you won't have to worry about porting Python 2 application to Python 3.
That's all about versions. In next post you will be getting general information about Python environment..
Enjoy learning! Conquer the concept with concept conqueror .
Python 2:
The final version of Python 2, version 2.7, came out in 2010. Although Python 3 is the largest generation of the language, many programmers still use Python 2.7.
One advantage of Python 2 is that it has been around longer that Python 3, so there's more technical support and help available.
One minor difference between Python 2 and Python 3 is that in Python 2, print is treated as a statement instead of a function, therefore there's no need to pass arguments through parentheses, for example:
Print ' Python 2'
Python 3:
Python 3 was released in 2008 with the goal of making Python an easier language to use.
In Python 3, we must pass the items we want to print explicity to the function in parantheses as follows:
Print ('Python 3')
Python 3 is the first Python release which is incompatible with previous versions, which is why some programmers still use Python 2, since certain packages and libraries they rely on to be an improved version of Python 2, with fewer mistakes and easier for beginners to understand and use. Our goal is for you to learn the newest version.
As a beginner, your best bet is Python 3. That is the standard that's advancing slightly faster and you won't have to worry about porting Python 2 application to Python 3.
That's all about versions. In next post you will be getting general information about Python environment..
Enjoy learning! Conquer the concept with concept conqueror .
Comments
Post a Comment