Try Intro to Computer Science in Python Now!View Course

Intro to Computer Science in Python

Try Intro to Computer Science in Python Now!

The CodeHS introduction to Python course teaches the fundamentals of computer programming as well as some advanced features of the Python language. Students use what they learn in this course to build simple console-based games. This course is equivalent to a semester-long introductory Python course at the college level.

Who is it for?

This course does not assume any prior programming experience. Learn the basics of programming, and then gradually harness the power of some of Python's more advanced features to make games and solve real-world problems.

Students can take this course as their first introduction to computer science or as a secondary introductory course that explores a new language, after our Introduction to Computer Science in JavaScript.

Meet Your Instructor

Jonathan Potter

Jonathan is a professor in the computer science department at City College of San Francisco, and an avid believer in computer science education for all.

What do you Learn?

In this course, students learn the fundamental concepts of programming - concepts that can be applied in the study of any programming language. Students also dive into specific features of the Python programming language. Below is a summary of the material covered in each module:

Module Description
Turtle Graphics:Learn the basics of programming by drawing shapes on your screen with Turtle Graphics! Turtle Graphics (or LOGO) is a beginner friendly way to explore programming concepts and bring creativity into programming in a visual way.
Fundamentals:Learn the basics of programming by writing programs that you can interact with using your keyboard!
Control Flow:Teach your program to make decisions based on the information it receives. Learn how to decompose your program into smaller pieces that work together to solve a problem!
Strings:Learn more sophisticated strategies for manipulating text in your programs - slicing, formatting, and using regular expressions.
Data Structures:Build more complex programs that make use of lists, grids, and dictionaries.
Project: Hangman:Use the skills you've learned in the first four modules to build the game Hangman. Try a demo here
Classes and Objects:Learn the principles of object-oriented design.
Final Project:This is your chance to build your own application using the new skills you've learned!

Demos and Tools

Students will build creative graphics programs with Tracy the Turtle.

Students will learn to create text based games in Python like Hangman. Here is a sample of a running hangman program. You can try it out yourself here

Students receive instant feedback on their code from our autograders. Here is an example of an autograded program that finds the sum of a list of numbers.

Course Flavors

On our Pro plans, we have different Course Flavors available. Course Flavors means that you get exactly the right version of our course for your school, classroom, and students.

Here are our Course Flavors for Intro Python:

Course Flavor Description
Intro to Computer Science in Python (Rainforest) This is the main introduction to computer science in python course. This is the standard course flavor for our Intro to CS in Python.
Intro to Computer Science in Python (Savanna) This is the introduction to computer science in python course without the turtle graphics introduction.

To find out the right Course Flavor for your class contact your Account Manager or contact us at


Take a look at our syllabus for teaching Intro to Computer Science in Python with CodeHS.

View Syllabus


Interested in teaching the Intro to Computer Science in Python course with CodeHS? Get in touch, so we can help you bring CodeHS to your school!

Bring to My School Try the demo