Sign Up
Start

Course

Paid

Learn Python 3

Learn the basics of Python 3, one of the most powerful, versatile, and in-demand programming languages today.

564,390 recent learners

Syllabus

13 lessons • 12 projects • 12 quizzes

Expand all sections

2

Control Flow

Learn how to build control flow into your python code by including if, else, and elif statements. Expect to learn all you need to know about boolean variables and logical operators.

Lesson

Control Flow

Control Flow

Quiz

Magic 8-Ball

Project

Sal's Shipping

Project

Errors in Python

Lesson

4

Loops

Loops are structures that let you repeat Python code over and over. Learn how to read loops and write them to solve your own problems.

Lesson

Loops

Loops

Quiz

Carly's Clippers

Project

8

Modules

Learn how modules work in the Python programming language.

Lesson

Modules in Python

Learn Python: pipenv

Article

Video

Learn Python: Datetimes

1

Hello World

Get started with Python syntax in this lesson and then create a point of sale system for a furniture store.

Lesson

Hello World

Hello World

Quiz

Block Letters

Project

Receipts for Lovely Loveseats

Project

Make the Most of Your Codecademy Membership

Article

User Input

Article

3

Lists

Learn about lists, a data structure in Python used to store ordered groups of data.

Lesson

Introduction to Lists

Introduction to Lists

Quiz

Gradebook

Project

Working with Lists in Python

Lesson

Working with Lists in Python

Quiz

Len's Slice

Project

Learn Python: Tuples

Video

Combining Lists: The Zip Function

Article

5

Functions

Learn about code reuse with Python functions. Apply that knowledge to create functions for famous physics formulas.

Lesson

Introduction to Functions

Introduction to Functions

Quiz

Getting Ready for Physics Class

Project

Off-Platform Project: Reggie's Linear Regression

Informational

6

Python: Code Challenges (Optional)

Optional code challenge to test your Python knowledge!

Article

Python Code Challenges: Control Flow

Python Code Challenges: Control Flow (Advanced)

Article

Python Code Challenges: Lists

Article

Python Code Challenges: Lists (Advanced)

Article

Python Code Challenges: Loops

Article

Python Code Challenges: Loops (Advanced)

Article

Python Code Challenges: Functions

Article

Python Code Challenges: Functions (Advanced)

Article

7

Strings

Learn all about the Python string object. Figure out how to automatically create, rearrange, reassign, disassemble, and reassemble blocks of text!

Lesson

Introduction to Strings

Introduction to Strings

Quiz

String Methods

Lesson

String Methods

Quiz

Thread Shed

Project

Off-Platform Project: Coded Correspondence

Informational

9

Dictionaries

Learn all about the Python dictionary structure and how to create and use key-value pairs in your code.

Lesson

Creating Dictionaries

Creating Dictionaries

Quiz

Using Dictionaries

Lesson

Scrabble

Project

Using Dictionaries

Quiz

Off-Platform Project: Abruptly Goblins

Informational

10

Files

Learn how to work with files in an automated way! Investigate the properties of text, CSV, and JSON files by reading and writing to them!

Lesson

Learn Python: Files

Python Files

Quiz

Hacking The Fender

Project

11

Classes

Learn about the differences between data types in Python and how to create your own classes, objects, and interfaces.

Lesson

Introduction to Classes

Introduction to Classes

Quiz

Basta Fazoolin'

Project

12

Python: Code Challenges (Optional)

Optional code challenge to test your Python knowledge!

Article

Python Code Challenges: Strings

Python Code Challenges: Strings (Advanced)

Article

Python Code Challenges: Dictionaries

Article

Python Code Challenges: Dictionaries (Advanced)

Article

Python Code Challenges: Classes

Article

13

Next Steps

You’ve completed the Learn Python 3 course! What’s next?

Article

Next Steps

Projects in this course

Reviews from learners

"It is so helpful to have a thoroughly designed curriculum put together for a step-by-step learning journey. The little coding tasks and bigger projects are well designed to reinforce the concepts."

Dan
Codecademy Learner @ Australia

"The courses are hands-on and allow you to practice as you learn so the concepts stick better. Their Career Paths and interview prep content also offer general insights and helpful tips on job searching in tech."

Ly
Codecademy Learner @ USA

"Great courses and very helpful tips for career build-up! I love the learning methods, very complete with projects and quizzes that help you review your knowledge."

Aleksander
Codecademy Learner @ France

Our learners work at

Join over 50 million learners and start Learn Python 3 today!

Start

Made with❤️ in NYC © 2022 Codecademy

About this course

If you’re looking for a programming language that’s flexible and easy to read, try learning Python. It’s one of the most popular languages today, and programming in Python is used for everything from web and software development to data science and analytics to quality assurance.

Skills you'll gain

Write Python 3 programs

Simplify the code you write

Take your skills off-platform

The platform

Hands-on learning

Don’t just watch or read about someone else coding — write your own code live in our online, interactive platform. You’ll even get AI-driven recommendations on what you need to review to help keep you on track.

Unlock additional features with a paid plan

Practice projects

Guided projects that help you solidify the skills and concepts you’re learning.

Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.

Assessments

Earn a document to prove you’ve completed a course or path that you can share with your network.

Certificate of completion

See pricing and plans

Block Letters

Display your initials on the screen in block letters and create an ASCII art.

Project

Keep receipts for your lovely loveseats. Programming is a treat with this sweet suite of feats! Use strings and numbers to save a catalog of furniture, then...

Project

Receipt for Lovely Loveseats

We’ve learned about and explored a powerful tool in Python — control flow! It’s so powerful, in fact, that it can be used to tell someone’s fortune.

Project

Magic 8-Ball

Log In