Introduction to Python for intermediate or advanced coders in upper middle or high school. In this advanced lesson plan, students will be introduced to Python as they complete engaging lessons, solve challenging puzzles, and build their own games in Python. This course is ideal for students who have already completed at least one Tynker course and are comfortable with the basics of programming logic and computational thinking. This course will help them transition to Python and adapt to the additional challenges of text-based syntax.

Students who successfully complete this lesson plan will demonstrate a strong mastery of Python syntax, as well as the ability to creatively program games and other projects and debug their own code. Students will also be able to come up with an idea for a game and take it through the entire design and implementation process, creating custom versions of many of their favorite games in Python.

Topics Covered: Python syntax, sequencing, repetition, conditional logic, nested loops, automation, pattern recognition, simple motion, keyboard and mouse events, pen drawing, operators, expressions, variables, Turtle graphics, using arrays and objects to store structured data.

What Students Learn

  • Day 1: Python Basics
  • Day 2: More Python Basics
  • Day 3: Python Game Design
  • Day 4: Python Games
  • Day 5: Collaborative Exercise

Technical Requirements

* Online courses require a modern desktop computer, laptop computer, Chromebook, or Netbook with Internet access and a Chrome (29+), Firefox (30+), Safari (7+), or Edge (20+) browser. No downloads required.

1. The Basics
14 activities
Get used to typing and syntax and learn the basics of Python.
2. Loops and Patterns
14 activities
Learn to recognize patterns and use a "for" loop to solve problems.
3. Conditional Logic
16 activities
Learn about conditionals in Python.
4. Conditional Loops
11 activities
Learn how to use "while" loops in Python.
5. Variables
15 activities
Learn to use variables to store information in Python.
6. Expressions
11 activities
Learn about expressions in Python.
7. Using the Turtle Tool
7 activities
Discover how to draw and graph with turtle graphics.
8. User Interaction
6 activities
Learn to set up and handle keyboard and mouse events in Python.
9. Game Design
6 activities
Learn about game loops, win/loss conditions, and keeping score in Python.
10. Snake
4 activities
Create a "snake" game on your own.
11. Connect 4
4 activities
Build a game of "Connect 4" on your own.
12. Tetris
5 activities
Program a game of "Tetris" on your own.
13. Final Game
2 activities
Build a game of your choice. Choose from "Frogga" and "Pong."