How to install Python in Windows and ubuntu 16.04

In this post I will show how to install Python in windows and ubuntu.

In Ubuntu 16.04:
by default python is installed in ubuntu.

In windows:
First download python 3+ from python.org/downloads as shown below image