Python 3.0


( Python 3.0 is also called 'python 3000'
    or 'py3k')
    

python 3.0 is released in December 3,

2008. Python 3.0 is invented for , 

rectify fundamental design flaws in 

the language. Python 3.0 is the clear 

Winner for new learners.


Let's see the difference between Python 2 .0  and Python 3.0.......

   
    The print statement has become the print 
Function . The meaning of this in python 2.0.....

    print" Welcome to Python"

    Is  as follows in python 3.0.....

     print (" Welcome to Python")

  • The print - syntax is treated as a statement rather than a function which requires text to be wrapped in parenthesis - Python 2.0

The print is explicitly treated as a function and   replaced by the print() function which requires an extra pair of parenthesis - Python 3.0
  • Python 3.0 makes coding more obvious and intuitive by removing duplicate contracts and modules .
  • In Python 3.0 value of variable never change.
  • By using python 3.0 we can do .....Data science- including machine learning, data analysis and data visualization.

Comments