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

Read reviews of their learning experiences

I think its a great course but i think, the exercises on the side get a little repetitive sometimes, one exercise after like 3-4 pages would be better than a exercise after every page

(4/5)
Hari Nandhan profile image

Hari Nandhan

India

Nice course i hope that i make good use of the knowledge i gained from this course

(5/5)
Muhammad Iman Nugraha profile image

Muhammad Iman Nugraha

Indonesia

Great course for learning the basics, syntax, loops and lists!

(5/5)
Johan Karlsson profile image

Johan Karlsson

Sweden

Pretty good

(5/5)
BENOIT LANGLAIS profile image

BENOIT LANGLAIS

Japan

I loved the course it was very informative and helped me refresh on a few things I don't use too often

(4/5)
Storm Crusherr profile image

Storm Crusherr

United States

Great with helping me to get back into coding, and got me excited to continue the backend developer course!

(5/5)
Jerry Templeton profile image

Jerry Templeton

United States

A great start to the programming journey for beginners. The course often uses entertaining examples and easter eggs nerds will pick up on, and can sometimes give you a moment of entertainment in the ocean of frustration that is learning to code. The course is well written, with almost all exercises being explicit. The course introduces key concepts without going into too much detail as to overwhelm beginners, but doesn't learn too many stones unturned that it'd make you relearn entirely later.

(5/5)
Eman  profile image

Eman

United Kingdom

Amazing course!

(5/5)
Mallory Antomarchi profile image

Mallory Antomarchi

Australia

Good course for beginners, by the end, while I was still having to consult with boots, I was mostly writing code that was returning good results, and most importantly I had a good understanding of the code.

(5/5)
Mark Murphy profile image

Mark Murphy

Ireland

Showing 1-9 of 5603

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.