How to code in python

This is a tutorial on the python basics


What is Python?

Python is a high-level, interpreted programming language known for its readability. It is used for everything from web development to artificial intelligence.


Why Learn Python?

Here are some of the many reasons to use python:

  • Easy to read and learn
  • Massive community support
  • Extensive library ecosystem
  • Highly versatile across industries

How to set up VS Code:

  1. Download VS Code.
  2. Open VS Code and navigate to the Extensions view (square icon on the left).
  3. Search for and install the "Python" extension by Microsoft.
  4. Create a new file and save it with a .py extension.

Your First Steps

The most simple thing to learn is printing
Follow these steps to learn printing:

  1. Install the latest version of Python from the official site.
  2. Open VS Code and create a file named hello.py.
  3. Type print("Hello, World!") into the editor.
  4. Click the Play button in the top right corner to see your result in the terminal!

Here is a example:

example

© Isaac Wigget 2026