Please enable JavaScript to use CodeHS

Python Tutorials

  • Math
  • Data Science
  • Python
python

Math Module in Python

By Ryan Hart

High School
  • Getting Started
  • Python
python

Printing in Python

By Evelyn Hunter

High School
  • Variables
  • Python
python

Lists in Python

By Evelyn Hunter

High School
  • Lists
  • Python
python

2D Lists in Python

By Evelyn Hunter

High School
  • Strings
  • Python
python

Python Strings

By Ryan Molyneaux

High School
  • Functions
  • Python
python

Basic Functions in Python

By Ryan Hart

High School
  • Loops
  • Python
python

While Loops in Python

By Rachel Devaney

High School
  • Data Structures
  • Python
python

Tuples in Python

By Evelyn Hunter

High School
  • Getting Started
  • Python
python

User Input in Python

By Rachel Devaney

High School
  • Loops
  • Getting Started
  • Python
python

For Loops in Python

By Rachel Devaney

High School
  • Loops
  • Python
python

Break and Continue in Python

By Rachel Devaney

High School
  • Getting Started
  • Python
python

Python For Java Users

By David Burnham

High School
  • Strings
  • Python
python

Indexing Python Strings

By Ryan Molyneaux

High School
  • Strings
  • Python
python

Slicing Python Strings

By Ryan Molyneaux

High School
  • Python
python

Using the Python Debugger

By Calvin Studebaker

High School
  • Data Science
  • Python
python

Pandas Series and Central Tendency

By Jennifer Campbell

High School
  • Python
python

ANSI Colors

By Andy Bayer

High School
  • Dictionaries
  • Data Structures
  • Python
python

Dictionaries in Python

By Rachel Devaney

High School
  • Booleans
  • Python
python

Booleans and Logical Operators in Python

By Ryan Hart

High School
  • Math
  • Python
python

Basic Math in Python

By Ryan Hart

High School
  • Booleans
  • Python
python

Python Conditionals: If, Else, Elif

By Ryan Molyneaux

High School
  • Variables
  • Python
python

Variables in Python

By Rachel Devaney

High School
  • Getting Started
  • Python
python

Python Comments

By Ryan Molyneaux

High School
  • Booleans
  • Python
python

Boolean Expressions in Python

By Evelyn Hunter

High School
  • AP
  • Python
python

Sample A CSP Performance Task

By David Burnham

High School
  • Python
python

Python3 REPL

By Zach Galant

High School
  • Dictionaries
  • Python
python

Comprehensions in Python

By Neel Kishnani

High School
  • Python
python

Coding in Python: How Fast is Your Code?

By Ashwin Aggarwal

High School
  • Math
  • Python
python

Intro to Brython - Calculator

By Zach Galant

High School
  • AP
  • Python
python

Sample B CSP Performance Task

By David Burnham

High School
  • Data Science
  • Python
python

Measures of Spread

By Jennifer Campbell

High School
  • Variables
  • Python
python

Casting in Python

By Evelyn Hunter

High School
  • Python
python

Randomization in Python

By Evelyn Hunter

High School