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. You'll practice Python's core concepts and apply them to real problems as you learn.

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

Read reviews of their learning experiences

It was a bit challenging sometimes and the end was as easy as tricky but I made it!!!!!!

(4/5)
Olyxander Lerecouvreux profile image

Olyxander Lerecouvreux

France

Great introduction to programming for beginners. The exercises are simple and fun and does a good job hammering in the concepts.

(5/5)
Mashrur Ahmed profile image

Mashrur Ahmed

Dhaka, Bangladesh

Easy to understand

(5/5)
Kristóf Krihó profile image

Kristóf Krihó

Hungary

it was fun, im glad i learned what i could from this, ill probs be re-running this lesson every so often to really get the basics down though.

(3/5)
The Ultrasauce profile image

The Ultrasauce

United States

great course for beginners, and also learned new topics like error, which is something you usually do not encounter when learning basics of python

(5/5)
Kristiāns  profile image

Kristiāns

Latvia

I still feel like a rock-eating greenbeard, buuut the course was very enjoyable and fun!

(5/5)
Elijah English profile image

Elijah English

United States

Fantastic bite-seize lessons that can be done even on a work break or between meetings (or during some particularly boring ones) as I have done. The ability to see solutions to compare to your own, and ask Boots for suggestions when stuck is what has helped me finally pull my thumb out to learn Python.

(5/5)
Oscar Styf profile image

Oscar Styf

United Kingdom

Very clear and well paced, easy to follow, plenty of help.

(5/5)
Tiffany Arnold profile image

Tiffany Arnold

United Kingdom

it cover many basic syntax and how to write it in python

(5/5)
rfn rmzbru profile image

rfn rmzbru

Surabaya, Jawa Timur, Indonesia

Showing 1-9 of 5205

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.