Python for Beginners pdf free download, dummies, commands, examples, NumPy, SciPy, Data Science, Analytics, Data Engineers, BIG Data
The final 2.x version is 2.7 released in the middle of 2010. Python 3.x latest version is 3.6.4 when writing this article. Python 3.3 released in 2012, 3.4 in 2014, 3.5 in 2015 and 3.6 in 2016.
The following are some of the key differences between Python 2.x and Python 3.x:
• strings are Unicode by default
• clean Unicode/bytes separation
• exception chaining
• function annotations
• syntax for keyword-only arguments
• extended tuple unpacking
• non-local variable declarations
... Click here for full details.
What is variable
It is a place where we can store values. Instead of using the values directly, we can refer the variable name where the actual values are stored.
> x = 2 === > here X is Variable
> name = 'John' === > here NAME is variable
What is Expression
It contains values, variables and operators.
> y = x + 10
...click here for full details