We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Learn to Code in Python

Learn to code using the latest version of Python 3, arguably the most popular professional programming language

What will you learn?

Learn the basics of the Python programming language, and why it's one of the most popular programming languages out there. You'll get hands-on practice with all the core concepts, and learn how to apply them to real-world problems. You don't need any prior programming experience to be able to complete this course, it's intended for complete beginners.

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
Practice
Put your skills to work by squashing extra challenging practice problems
14
Quiz
Quiz yourself on some of the important-to-know facts about the Python language

Join 722,586 students in the Learn to Code in Python course

Read reviews of their learning experiences

Amazing, thorough and very informative!

(5/5)
Misbah Zayyad profile image

Misbah Zayyad

Germany

This website is very user friendly and the pace is truly "at your own". I sometimes got the itch to learn and then other days just passed by and I didn't think about coding. I didn't get pushy emails asking to complete the course or reminders that I was in the middle of a lesson. The program saves your progress automatically too so you can pick up where you left off.

(5/5)
Tom  profile image

Tom

United States

Excellent run through and introduction to python, doesn't hand hold and allows the user to learn at their own pace. Help is available if required and back tracking is easy enough. The AI ability to create challenges for you is very handy, and an excellent way to improve your skills and understanding.

(5/5)
Daniel Hazell profile image

Daniel Hazell

United Kingdom

the assignment is too complex most of the time. its like the lessons taught 1+1 =2 but the assignment want you to do 2*2

(3/5)
sq oos profile image

sq oos

Thailand

I'd say it's done better than most schooling platforms I've been on. The AI tutor is a helpful ally(especially for one who sometimes finds 'emself completely missing the point for reasons I have yet to know), and thus far, I've enjoyed the experience! For me, this was my first course taken, so completing it and not have been tortured beyond comprehension is a sweet bonus!

(4/5)
Aidyn  profile image

Aidyn

United States

This course was a great way for me to get back into programming. Even though I knew some coding basics, I had never used Python before and hadn't done any coding in years. This course covered all the basics, provided valuable resources, and got me started with Python.

(5/5)
Daniel Ramey profile image

Daniel Ramey

Seattle, WA

great points, and easy to learn for the most part. there were a couple times where the assignment kind of just.. let me go and try to figure stuff out, which is not always the best approach, and there was one lesson that relied on a google search because it didn't cover what you were supposed to do (or have ever, so the spellbook didn't help)

(4/5)
Toji Majia profile image

Toji Majia

Canada

It's a great, I took many courses for learning python, but this one is one of the best, because I like gamify of this course. Nice tool if you don't know, ask Boots. Recommended

(5/5)
Tomas  profile image

Tomas

United Kingdom

This is what kept me coding

(5/5)
Brian Greenbaum profile image

Brian Greenbaum

United States

Showing 1-9 of 4095

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! It's free to create an account and start learning. You'll get all the immersive and interactive features for free for a few chapters. After that, if you still haven't paid for a membership, you'll be in read-only (content only) mode.