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

Learn to Code in Python

Start coding in Python with hands-on lessons that build the habits you'll use in every future course.

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
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 789,736 students in the Learn to Code in Python course

Read reviews of their learning experiences

Boots, the AI assistant/mentor is top notch. You'll be coding in no time !

(5/5)
Peter Braun profile image

Peter Braun

United States

A direct, streamlined, friendly, and thematically engaging way to introduce oneself to Python.

(5/5)
John Griffiths profile image

John Griffiths

United States

it was a really fun course to do and got me through the basics of python having been off and on of python learning how to do it at least. One thing I will say it was kinda difficult to get through the course. Sometimes I got really confused with some of the things they tried to explain but regardless its a good course i learned a lot.

(3/5)
PSG3  profile image

PSG3

United States

it was a very great step in to coding and very entertaining i know nothing about coding and python before this

(4/5)
raddad alzahrani profile image

raddad alzahrani

Saudi Arabia

I've tried many learn to code courses before, but this one just resonated with me more than the others. I've stuck with it longer than I did any other course and I feel like i've actually learned something!

(5/5)
Joe Tolchard profile image

Joe Tolchard

United Kingdom

My first time writing a code was at this platform. It feels like playing a game but you can learn a lot here. Also the mechanics of getting help are awesome. Love it!

(5/5)
Seidl Hiiiped profile image

Seidl Hiiiped

Austria

Great Course to start with! Very practical with examples

(5/5)
Esteban Camerlo profile image

Esteban Camerlo

Argentina

easy to follow, good examples and the quizes make you think hard and if you get stuck you have plenty of free and premium options to help you (spellbook, boots)

(5/5)
Ivan Patrick Lambert profile image

Ivan Patrick Lambert

Croatia

I enjoyed it, the format is really engaging. I had to ask boots for help a few times but never to the point of begging for the answer. 10/10 Challenge yourself

(5/5)
Jeremy C profile image

Jeremy C

Canada

Showing 1-9 of 4854

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.