Introduction to Python

What is Python?

Python is a general-purpose programming language used for:

It has a English-like syntax which makes it easy to read and understand Python code. This makes it a very beginner friendly programming language!


      number = 5 # Set variable 'number' to 5

      if number == 5: # If 'number' is equal to 5, execute line of code below
          print("The number is 5.")
      else: # If not, execute the line of code below instead
          print("The number is not 5.")
      

Getting Started

To get started with Python, you'll need to install it on your computer. Python is available for all major operating systems (Windows, macOS, Linux). Visit the official Python website and download the latest version.