- What is CodeHS?
- 6-12 Curriculum Pathway
- High School Courses
- Middle School Courses
- All Courses
- K-12 Curriculum Pathway
- AP Computer Science in Java
- AP Computer Science Principles
- Intro to Computer Science in Python
- Intro to Python with Tracy
- Computing Ideas
- Web Design
- Introduction to Virtual Reality
- Introduction to Programming with Karel the Dog
- Introduction to Programming with Karel the Dog (Español)
- Programming Languages
- Creative Computing
- Introduction to the Internet
- World of Computing
- Mobile Apps
- Integrated Coding Projects
- Coding Music
- Coding Sports
- Coding Art
- Professional Development
- Online PD
- In-Person PD
- Graduate Credit
- Teaching Intro CS
- Teaching AP CSP
- Teaching AP Java
- Teaching Computing Ideas
- Teaching Intro Python
- Teaching Web Design
- Teaching Cybersecurity
- Level 2 Professional Development for CS Teachers
- Progress Tracking
- Magic Grading
- Next Gen Lesson Plans
- Offline Handouts
- Problem Guides
- Access Controls
- Due Dates
- Course Map
- Problem Bank
- Playlist Bank
- Quiz Scores
- Mobile Apps
- LMS Integrations
Intro to Computer Science in Python
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.
The entirely web-based curriculum is made up of a series of learning modules that cover the fundamentals of programming. Each module is made up of short video tutorials, example programs, quizzes, programming exercises, challenge problems, and unit tests. The course is designed for a year long class that meets 5 days per week, though schools implement it in a variety of ways.
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.
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:
|Welcome:Welcome to Intro to CS in Python! Check out our introductory video to get a sense of what this course is about, and reflect on what you hope to get out of it.|
|Introduction to Programming with Turtle Graphics:Learn Python commands, functions, and control structures by drawing shapes on your screen and solving puzzles with Turtle Graphics!|
|Basic Python and Console Interaction:Learn the basics of programming by writing programs that you can interact with using your keyboard!|
|Conditionals:Teach your program to make decisions based on the information it receives.|
|Looping:Learn how to write more efficient code by using control structures as shortcuts.|
|Functions and Exceptions: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, concatenating, and formatting.|
|Creating and Altering Data Structures:Learn how tuples and lists are formed and the various methods that can alter them.|
|Extending Data Structures:Build more complex programs that make use of grids and dictionaries.|
|Project: Hangman:Use the skills you’ve learned in the first four modules to build the game Hangman.|
|Classes and Objects:Learn the principles of object-oriented design.|
|Project: Who Said it?:Combine all the skills you’ve learned to create a program that reads a portion of text and chooses the author between two options.|
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.
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:
|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 firstname.lastname@example.org.
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