We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Learn Python for Beginners

Learn Python from scratch with hands-on lessons covering functions, loops, data structures, debugging, and problem solving.

What you'll learn in this Python course

Learn Python from scratch by writing code, not just watching videos. This course is built for complete beginners, so you don't need any prior programming experience. Every lesson runs in your browser, and XP, streaks, and quests keep you coming back.

Chapter List

1
Introduction
Learn about the Python programming language and why it's so ubiquitous
2
Variables
Learn how variables are declared and used in Python
3
Functions
Learn how to declare and call functions
4
Scope
Learn how Python scopes variables in different contexts
5
Testing and Debugging
Learn how unit tests and good debugging practices will help you write better code
6
Computing
Learn the basics of how computers work internally
7
Comparisons
Learn how to compare different values and make logical decisions in a program
8
Loops
Master the art of reusing code
9
Lists
Learn the most basic and powerful data structure in all of coding
10
Dictionaries
Learn about Python's built-in support for complex structures
11
Sets
Master another basic data structure of the Python language
12
Errors
Learn how to deal with unexpected data and inputs in a Python program
13
Type Hints
Learn how to use type hints to make Python code easier to read and debug
14
Practice
Put your skills to work by squashing extra challenging practice problems
15
Quiz
Quiz yourself on some of the important-to-know facts about the Python language

Join 838,188 students in the Learn Python for Beginners course

Read reviews of their learning experiences

Great intro with lots of intuitive lessons.

(5/5)
Benjamin Keen profile image

Benjamin Keen

Sweden

What a good course

(5/5)
Tegar Wijaya Kusuma profile image

Tegar Wijaya Kusuma

Indonesia

So much more interesting than my college class which covered the exact same materiel. I feel far more confident writing python than I did going in.

(5/5)
Henry Lever profile image

Henry Lever

United States

The best Python course I've ever completed!

(5/5)
Gustavo H. K. Oliveira profile image

Gustavo H. K. Oliveira

São Paulo, Brazil

Great content.

(5/5)
Chukwuemeka Nwankwo profile image

Chukwuemeka Nwankwo

Nigeria

Totally worth it, ease in the material very smoothly. It teaches programming better than my university!

(5/5)
Mathias Ricard profile image

Mathias Ricard

Canada

its great its funn i love it

(5/5)
Nemanja Ilic profile image

Nemanja Ilic

Serbia

This was my first course on boot.dev and I am really impressed how easily the fundamentals are explained and how much more I can remember in my daily coding.

(5/5)
Lucas Costa profile image

Lucas Costa

Brazil

The course is really thorough and covers basically everything you should know as a beginner.

(5/5)
Ohneschnitzel  profile image

Ohneschnitzel

Switzerland

Showing 1-9 of 5344

or view more reviews

Mediocrity doesn't cut it anymore

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

a game-like curriculum

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Frequently asked Questions

Got questions? We've got answers

Yes. This course assumes no programming experience. It starts with variables and functions, then builds up to loops, data structures, testing, debugging, and error handling through hands-on coding exercises.