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

Read reviews of their learning experiences

This was a great way to dive into Python, and though I'm typically a luddite when it comes to AI, Boots is a really helpful resource when you're looking to learn more of the 'why' behind the code. Also, ALWAYS LOOK AT THEIR ANSWER AFTER YOU PASS! You may think your solution is brilliant because it used 4 lines of code, just to discover it could be done in 1.

(4/5)
Lorelei Law profile image

Lorelei Law

United States

This course is well written. It explains and reinforces concepts of Python really well making it easy to learn.

(5/5)
Ozzy M profile image

Ozzy M

Canada

Great introduction to the core concepts

(5/5)
Jack Beal profile image

Jack Beal

United States

An amazing course for beginner programmers!

(5/5)
SmittyGamer  profile image

SmittyGamer

United States

This course is good and helps in get out from tutorial hell

(5/5)
Hari Prasath profile image

Hari Prasath

India

This course is really well explained and informative. Teaches you the right way to approach a problem or rethink your solution to it.

(5/5)
Łukasz Firek profile image

Łukasz Firek

Poland

Great at teaching you the fundamentals, exactly what you'd want

(5/5)
Doom  profile image

Doom

United States

It's easy to learn and I like learning coding by this way.

(5/5)
zechuan Wang profile image

zechuan Wang

Shanghai Institute of Technology

This was a great intro course into Python. While I am still not 100% confident on all topics covered, I do feel like I have learned enough to fumble around to further my learning.

(4/5)
Cap'n Ron profile image

Cap'n Ron

United States

Showing 1-9 of 4143

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.