CS & Programming · Level 3

3.1 Programming with Python

Learn one of the most in-demand programming languages the fun way.

Welcome to Python

Practice Welcome to Python

Numbers in Python

Practice Numbers in Python

Variables in Python

Practice Variables in Python

Conversion Challenge

Variable Reuse

Practice Variable Reuse


Practice Loops

Fibonacci Challenge


Practice Conditionals

Conditions in Loops

Practice Conditions in Loops

Collatz Challenge

Drawing in Python

Built-in Functions

The For Loop

String Functions


The Replace Function

Custom Functions

The Range Function

Functions with Arguments

Course description

Python is one of the most widely used programming languages, and it is an excellent first language for new programmers. It can be used for everything from video games to data visualization to machine learning. Right from the start, this course will show you how to use Python to create intricate drawings, coded messages and beautiful data plots. And along the way, you'll learn core programming concepts such as variables, control flow, and simulation. This course is ideal for anyone looking to start their programming journey - no experience required!

Topics covered

  • Codebreaking
  • Conditional Statements
  • Control Flow
  • Data Visualization
  • Functions
  • Loops
  • Maze Navigation
  • Python Syntax
  • Reading Code
  • Strings
  • Variables
  • Writing Code

Prerequisites and next steps

You don't need any previous computer science or programming experience!


  • Computer Science Fundamentals

Up next

CS & Programming · Level 3

3.2 Next Steps in Python

Boost your proficiency in Python by learning how to access social media data with public functions.

Jump ahead