You can download python from https://www.python.org/downloads/ don’t forget to mention python path in environment variables.
You can also install Anaconda and work on Ipython or Jypyter https://www.anaconda.com/download
So after installation in your terminal, you can simply run the command:
To open the python shell and start running python commands.
After opening shell you simply play with lets start with hello world
print "Hello World!"
Now we will add numbers, don’t have to worry about types in python because it supports Dynamic Typing. Lets try it out;
x=5 y=15 print x+y
x=4.5 y=10.2 print(x+y)
x=8 y=2.2 print(x+y)
Lets explore some more objects of Python
Is return if the reference points to the same object
x=3 y=3.0 x is y
== is used for equality
y=3.0 x=3 x == y