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

Learn to Code in Python

Start coding in Python with hands-on lessons that build the habits you'll use in every future course.

What will you learn?

Learn the basics of the Python programming language, and why it's one of the most popular programming languages out there. You'll get hands-on practice with all the core concepts, and learn how to apply them to real-world problems. You don't need any prior programming experience to be able to complete this course, it's intended for complete beginners.

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 736,434 students in the Learn to Code in Python course

Read reviews of their learning experiences

Great course for beginners or those who have found traditional programming courses in the past hard to follow - having an AI instructor on hand to instantly review and clarify code problems whenever needed greatly reduces the hassle involved with individual learning.

(5/5)
John House profile image

John House

Australia

Good stuff!

(5/5)
Stevan Freeborn profile image

Stevan Freeborn

Olathe, Kansas

Great course; good for beginners just getting started with the language

(5/5)
Stephen O'Dell profile image

Stephen O'Dell

Canada

Relearning fundamentals I learned in university but at twice the speed with an actual clarity. I've come away motivated to continue on and learn more fundamentals to help me in my professional life working with developers.

(5/5)
Elle Ferns profile image

Elle Ferns

United Kingdom

I have been trying to learn Python for years. I haven't managed to progress not because of the language being to difficult but because it has been difficult to track progress and practice enough to get going. This changed with boot.dev. I feel now I understand and I a at least able to read basic Python code! I am looking forward for the next Courses!

(5/5)
Panayiotis Ioannou profile image

Panayiotis Ioannou

Cyprus

I learned a lot from this course, and it helped push me in the right direction to start my own projects that seemed too overwhelming at the time.

(4/5)
Derek Nelson profile image

Derek Nelson

United States

Great resource that really allows you to learnt he concepts while repeatedly using them to build familiarity with web but also provides multiple ways to get past plateaus or subjects that may prove more challenging than others.

(5/5)
Adam Funderburk profile image

Adam Funderburk

United States

This course is supper simple to understand while still being challenging. That's a good thing, because a hard challenge will stay longer in the brain, then an easy time. There will be times when it all seems like nonsense, but at those times just feed boost a salmon and ask a million questions until it all clicks.

(5/5)
Lilith Sunzemi profile image

Lilith Sunzemi

United States

It's e great course that I ever learn.

(5/5)
Naeem Sheikh profile image

Naeem Sheikh

Dhaka, Bangladesh

Showing 1-9 of 4248

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! It's free to create an account and start learning. You'll get all the immersive and interactive features for free for a few chapters. After that, if you still haven't paid for a membership, you'll be in read-only (content only) mode.