1 ) Open VSCode and look for Extensions as shown in image.



2 ) Search extension Python and Install it.



3 ) Copy the code given below
.

4 ) Close and Open VSCode.
     Go To File > Preferences > Setting
     Then 
Go To Features > Trminal 

     Then scroll down and click to  



5 ) After that Paste the Copied code like below.


Then save the setting by pressing CTRL + S and close the setting.