Skip to main content

Level 2 of 9

Beginner 2: Python starter

At the end you can: Write and run short Python programs with variables, loops, functions, lists and dictionaries; read and write a file.

About 25 hours in all; the steps written so far take about 20.

Steps

  1. Set up Python and run your first fileInstall Python, write a file in a code editor and run it from the terminal.Not started · about 1 hour
  2. Variables, loops and functions in PythonWrite and run short Python programs that use variables, loops, functions, lists and dictionaries.Not started · about 6 hours
  3. Write your own functionsWrite functions that take inputs, return a result and can be reused across a program.Not started · about 4 hours

Sign in or sign up to see the full roadmap

All 5 topics in order, with your progress saved on every device. It takes a few seconds, no card needed.

Accounts are for learners aged 18 and over. Under 18? Every lesson is still open: browse lessons by topic.

Level project

A script that cleans a CSV file.

Today's AI turns are used

Lessons, roadmaps, videos, practice cards and the code playground stay free with your account, with no limit.