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 905,392 students in the Learn Python for Beginners course

Read reviews of their learning experiences

some of the lessons where rather plain in their descriptions so you will want to utilize python.org and possible some external youtube videos on python3

(4/5)
Matt Whatevrs profile image

Matt Whatevrs

United States

it's good for beginners and casual programmers, i came from javascript and learned a lot!

(5/5)
Adrianto Puji Irawan profile image

Adrianto Puji Irawan

Indonesia

Perfect entry point for the easiest way to learn coding!

(5/5)
Andreas Schenker profile image

Andreas Schenker

Germany

This course was a great course. I learned a lot of the fundamentals in college but I feel like this course went deeper and challenged me more than that course. There were times where I felt great and was moving quickly through the course and there were times where I just could not get the code to work and was frustrated. This struggle really help me understand the material much better by being forced to think through the tasks.

(5/5)
Caleb Porter profile image

Caleb Porter

United States

Boots is the best teacher I've ever had!

(5/5)
Sam Lovett profile image

Sam Lovett

Spain

I came here with prior knowledge on python from youtube, and i still learned more on dictionaries, sets and typehints

(4/5)
darkball999  profile image

darkball999

Saudi Arabia

I'm personally interested in tech since I was little, however I was never properly educated towards it. This course helped me understand basics at their core, using not only very accessible language, but also funny and encouraging tasks.

(5/5)
Mateusio Mały Brzusio profile image

Mateusio Mały Brzusio

Poland

I enjoyed the course, it was a good refresher on python and good initial coding practice for interviews.

(5/5)
Johnathon Fox profile image

Johnathon Fox

United States

Amazing, approachable overview to Python. The game system makes it fun, and the challenges were just hard enough to enjoy.

(5/5)
Hayden Conley profile image

Hayden Conley

United States

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.