1. Introduction

The following lessons are designed to give a brief introduction to Python. The purpose of these lessons is to introduce all the important and noteworthy features and aspects of Python to give an overview of Python as a whole.

So what's with all this talk about snakes?

Python is an interpreted high-level programming language. Python was designed by Guido van Rossum and first appeared in 1991. One of the main differences between Python and other programming languagesโ€”Java, C++, etcโ€”is the emphasis on readability.

Prerequisites

The only prerequisites for these lessons are an internet connection and basic math skills.

Syntax

Below are some syntax for these lessons(what each component on this website looks like and how it functions).

Note Block

Notes are located in highlighted blocks and are used to give attention to important information.

Code Block
# This is an example of a code block, it represents Python code you can play around with
# Don't worry if you do not understand any of this code yet, you will learn soon!

import random
random_number = random.randint(0,1)
if random_number == 1:
    print("tada!")
Next โฏ