1Step 1: Download Python newest version from
2
3 https://www.python.org/downloads/
4
5Step 2:Install Python
6Step 3:Download Pycharm Community free version
7Step 4:Install and open Pycharm
8Step 5:Write print("Hello New World")
9 //Hurray you are about to start python
1echo This is for linux. (debian/unbuntu)
2sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget
3curl -O https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tar.xz
4tar -xf Python-3.7.4.tar.xz
5cd Python-3.7.4
6./configure --enable-optimizations
7make
8sudo make altinstall
9python3.7 --version
10cd ../
1Input: nums = [-1,0,3,5,9,12], target = 9
2Output: 4
3Explanation: 9 exists in nums and its index is 4
4
1For pytube3
2
3>>> from pytube import YouTube
4>>> YouTube('http://youtube.com/watch?v=9bZkp7q19f0').streams[0].download()
5