CS ยท Level 2

Programming with Python

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

Level 1: Sprout

Practice Level 1: Sprout

Level 2: Twig

Practice Level 2: Twig

Level 3: Boost

Practice Level 3: Boost

Level 4: Pests!

Practice Level 4: Pests!

Level 5: Drought & Flood

Practice Level 5: Drought & Flood

Level 6: Fire & Ice

Practice Level 6: Fire & Ice

Level 7: Music

Practice Level 7: Music

Level 8: Mood

Practice Level 8: Mood

Level 9: Grumpy

Practice Level 9: Grumpy

Level 10: Overwhelmed

Practice Level 10: Overwhelmed

Cracking Codes

Practice Cracking Codes

Lists

Practice Lists

List Indexing

Practice List Indexing

Looping through Lists

Practice Looping through Lists

Numbers in Python

Practice Numbers in Python

Variables in Python

Practice Variables in Python

Conversion Challenge

Variable Reuse

Practice Variable Reuse

Loops

Practice Loops

Fibonacci Challenge

Conditionals

Practice Conditionals

Conditions in Loops

Practice Conditions in Loops

Collatz Challenge

Drawing in Python

Built-in Functions

The For Loop

String Functions

Substrings

The Replace Function

Custom Functions

The Range Function

Functions with Arguments

Using Functions

Manipulating Inputs

Using Variables

Accessing Posts

Lists and Loops

Updating Variables

Investigating Trends

Conditionals

Conditional Logic

Searching for Values


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, you'll build programs with Python to create nurture a cybergarden, crack codes, and more. And along the way, you'll learn core programming concepts such as variables, loops, conditionals, and functions. This course is ideal for anyone looking to start their Python journey!


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!

Up next

CS ยท Level 3

Computer Science Fundamentals

Learn how to make a computer do what you want, elegantly and efficiently.

Jump ahead