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

Read reviews of their learning experiences

I thought the course was well laid out with topic progression and pacing.

(5/5)
Hank Hejmanowski profile image

Hank Hejmanowski

United States

some of the questions were worded in a way where I knew what the answer was, but the way it was asked led me to more confusion that got in the way of understanding concepts. Overall, this was a very well structured and well taught module. some of the questions should just be simplified in what they are asking to do is all I think

(4/5)
Jerrold Friend profile image

Jerrold Friend

United States

Python! it is such a great way to start your journey!!! I came into this course without any knowledge of back end development. Although my feet wont stop here I will continue to climb!! I'm so glad i started here. In the end it isnt about one long singular effort instead a bit each day. Something I heard once was, it isnt the thing that we push hard one day that matters. Its the every day efforts we make that do. 60 days of doing at least one lesson a day and I am now further along that path!!!

(5/5)
shelby adams profile image

shelby adams

United States

fun course really easy to understand while also practicing

(5/5)
GRIBCHENKO EVGENII profile image

GRIBCHENKO EVGENII

Greece

It's been around a week I guess since I started the course. The course is easy to understand, and quite fun as well. It DOES feels like I'm playing some sort of RPG game that forces you to code. So far, it is quite fun. It really made me to look forward to another lesson because of it.

(5/5)
Iqbal Al Ghifari profile image

Iqbal Al Ghifari

Indonesia

Very fun and simple way to learn the basics of Python! Had a blast remembering the foundations and testing myself with the forge a challenge feature on topics I truly struggled with!

(5/5)
Nico  profile image

Nico

United States

Amazing

(5/5)
Glen Rozario profile image

Glen Rozario

India

It was a really fun way of learning python's fundamentals. Although a bit long if you're already familiar with another language, but it was totally worth it:)

(5/5)
Robert Tinjala profile image

Robert Tinjala

Romania

I've been in the trades ever since i graduated, after a while i decided it wasn't for me. this course brought me from understanding nothing about coding to having a decent grasp on its principles.

(5/5)
Isaiah Lee profile image

Isaiah Lee

United States

Showing 1-9 of 5228

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.