BaseCodeByte
Back to Python course
PyPython FoundationsBeginnerLive Python8 min

What Is Python?

Understand what Python is used for and run a first tiny script.

Explanation cell

Python is a general-purpose programming language used for scripts, websites, automation, data work and tools. It is popular because the syntax is readable and beginner-friendly.

Python as a general-purpose languagereadable syntaxscripts and automation

Quick tip

Run small edits often. Tiny feedback loops make Python easier to learn.

Common mistake

Most early errors come from unmatched quotes, misspelled names or indentation.

Code cell

Starter code · Ctrl+Enter runs · Ctrl+Shift+Enter tests

Python runtime loads on first run

Output cell

Run your code to see output.

Run your code to see output.

Test cell

Tests run against the actual Python output.

Run tests to check your code against the lesson goals.

Practice cell

Try this

Change the message so it introduces yourself.

Expected output

Python is ready