Please enable JavaScript to use CodeHS

Python Programming 1 and 2

Python Programming 1 and 2 introduces students to the fundamentals of computer programming, with an emphasis on helping students develop logical thinking and problem-solving skills. Students begin by learning to design, code, and test their programs while applying mathematical concepts. Students then move to more advanced programming concepts and learn to create more powerful programs using functions, strings, data structures, and file i/o operations.

Overview & Highlights

Level
High School
Contact Hours
120
Timeframe
Year

Course Overview

To view the entire syllabus, click here or click to explore the full course.

Welcome
Students gain an understanding of what the course is about and reflect on what they hope to learn.
Karel in Python
Students learn the basics of programming by giving Karel the Dog commands in a grid world.
Basic Python and Console Interaction
Students learn the basics of programming by writing programs that interact with users through the keyboard.
Project: Mad Libs
Students write a program that allows users to create their own Mad Lib stories using variables and user input.
Conditionals
Students teach their programs to make decisions based on the information it receives.
Project: Quiz Game
Students write a program that quizzes users on a series of multiple-choice questions and checks their answers.
Looping
Students learn how to write more efficient code by using loops as shortcuts.
Project: Password Authenticator
Students write a program to provide feedback on whether the entered password is correct or incorrect.
Functions and Exceptions
Students learn how their programs can be decomposed into smaller pieces that work together to solve a problem.
Strings
Students learn more sophisticated strategies for manipulating text in their programs.
Project: The Game of Pig
Students program a classic two-player game played with a 6 sided die.
Creating and Altering Data Structures
Students learn how tuples and lists are formed and the various methods that can alter them.
Extending Data Structures
Students learn to build more complex programs that make use of grids and dictionaries.
Project: Guess the Word
Students write a program for a word guessing game.
File I/O
Students learn to read, write, and process information from text files.
Roles in a Software Development Team
Students learn the key roles and responsibilities of members of a software development team.

132
Lessons
131
Videos
211
Exercises
25
Challenges
285
Offline Handouts

Demo Programs

Explore programs that your students will build throughout this course!

Course Resources

Here are a few examples of teacher resources and materials to use in the Python Programming 1 and 2 course

Standards

Python Programming 1 and 2 is aligned with the following standards

Standards Framework View Alignment
Utah Computer Programming 1 View (100%)
Certiport IT Specialist Python View (100%)

Customizable Assignments

Create and organize Assignments in any CodeHS course that you're teaching. You can even add custom assignments to pre-existing CodeHS courses.

Learn More

Actions for Teachers

Didn’t find what you were looking for? Here are a few links that might be useful to you.

You also might like

Related Courses

Which python course should I use? Click here