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

Read reviews of their learning experiences

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

It is a good starting point, the best thing on this platforms is training ground where you can practice harder problems as you go

(5/5)
Carl Fibonacci profile image

Carl Fibonacci

India

I already had some good familiarity with Python, so it was less "Learn python..." and more "refresh python for beginners". I still found the course to be excellent. Not only do I feel ready to continue, but I feel motivated to do so (a rarity for me).

(5/5)
Patrick Plaisted profile image

Patrick Plaisted

United States

It's a perfect Python course <3

(5/5)
Tawfik Tarek profile image

Tawfik Tarek

Egypt

This is a wonderfully well thought out introductory course on Python, and the platform's gamification framework really does make it more fun, at least for my ADHD mind.

(5/5)
Mykah  profile image

Mykah

United States

Veramente fatto bene e divertente da fruire, compliementi, sono molto contento di averlo fatto e sicuramente coninuerò con altri corsi e programmare!

(5/5)
A C profile image

A C

Italy

Good and well balanced introduction to Python

(4/5)
Maverick Grayer profile image

Maverick Grayer

United States

It's one of the best python learning experiences I've taken. The videos are short and straight to the point, the resources like the spell book are incredibly helpful and it makes coding really fun

(5/5)
Shaka Maina profile image

Shaka Maina

Kenya

Showing 1-9 of 5597

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.