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

Read reviews of their learning experiences

Very approachable!

(5/5)
Wugzi  profile image

Wugzi

United States

great, fun and interactive course. perfect for people like me who are goal oriented and also wants practice inside course to give a better feel. (way better than just watching videos and sitting idle, where u learn almost nothing)

(5/5)
Subharup Bhattacharya profile image

Subharup Bhattacharya

India

Very good weaving of the overall game-theme with examples that actually make sense with the concept. Sometimes it needs a little bit of extra assistance to get through some of the quizzes, but a quick read through of documentation or asking Boots to help works wonders.

(5/5)
Andrew  profile image

Andrew

United States

The lessons do a great job of teaching you without spoonfeeding you every answer. Some tests come super easily, but the deeper you get into the course, the more concepts you need to integrate at a time, and the more challenging some of the tests become. Some people may be turned off by the idea of difficulty, but the part where you struggle for a little while before finally coming to the solution is really satisfying (its also the part where you learn the best!)

(5/5)
Josh Parnell profile image

Josh Parnell

United States

I've used python for a while but only learned enough to do what I needed. This course helped me fill in a lot of blind spots I didn't know I had.

(5/5)
Victor Khaze profile image

Victor Khaze

United States

This course went above and beyond what i expected!! Also talking to boots when I would get the right result but wasn't quite sure why, went a long way comprehending why i was doing the code the way i was.

(5/5)
Nick Gregori profile image

Nick Gregori

United States

Kind of slow going, but that is good for getting familiar with the syntax, because of the similarity to other languages with some differences. Easier than expected, but can be tricky sometimes, for the fun of it.

(5/5)
thomas peters II profile image

thomas peters II

United States

It was actually fun to learn python this way and it made it interesting enough and engaging that I was able to complete the course

(5/5)
Jun  profile image

Jun

United States

The Python Beginner course was very easy to follow, even for someone with little to no experience of coding. The course was also fun and engaging throughout.

(5/5)
Raoul Mulhall profile image

Raoul Mulhall

Ireland

Showing 1-9 of 5783

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.