how to install python on raspberry pi 3 code example
Example 1: install pip on raspberry pi
sudo apt-get update
sudo apt-get install python-pip
Example 2: install python3 raspberry pi
#on any linux (debian based)
sudo apt update
sudo apt install python3 idle3