Visual Studio Code offers a Python extension from its Extension Marketplace. It can be added directly from the IDE by completing the following steps.
- Click on the Extensions icon
2. In the search bar, type in Python. A few different extensions will return but the one you want is the extension provided by Microsoft.
3. Click the install button. You may need to restart your IDE after the installation is complete.
References
[1] Coursera