Please enable JavaScript to use CodeHS

Texas Computer Science I in Python

Karel in Python

Students learn the basics of programming by giving Karel the Dog commands in a grid world.

Lessons

2.1 Introduction to Programming With Karel

  • Introduction to Programming With Karel
  • Quiz: Karel Commands
  • Our First Karel Program
  • Your First Karel Program
  • Short Stack
  • +1 more

2.2 More Basic Karel

  • More Basic Karel
  • More Basic Karel Quiz
  • Tennis Ball Square
  • Make a Tower
  • Pyramid of Karel
  • +1 more

2.3 Karel Can't Turn Right

  • Karel Can't Turn Right
  • Karel Can't Turn Right Quiz
  • Tower and Turn Right
  • Fireman Karel
  • Slide Karel
  • +2 more

2.4 Functions in Karel

  • Functions in Karel
  • Functions in Karel Quiz
  • Turn Around
  • Pancakes
  • Backflip
  • +2 more

2.5 Top Down Design and Decomposition in Karel

  • Top Down Design and Decomposition in Karel
  • Top Down Design and Decomposition Quiz
  • Hurdle Karel
  • The Two Towers
  • Make a 'Z'
  • +1 more

2.6 Commenting Your Code

  • Commenting Your Code
  • Commenting Your Code Quiz
  • Hurdle Karel
  • The Two Towers + Comments
  • Reflection: Commenting

2.7 Abstraction

  • Abstraction
  • Abstraction Quiz
  • Abstracting Away build_tower
  • Abstracting Your Day
  • Reflection: Abstraction
  • +1 more

2.8 Super Karel

  • Super Karel
  • Super Karel Quiz
  • Hurdle Karel (with SuperKarel)
  • The Two Towers + SuperKarel
  • Super Karel Badge

2.9 For Loops

  • For Loops
  • For Loops Quiz
  • Repeated Move
  • Put Down Tennis Balls
  • Take 'em All
  • +3 more

2.10 If Statements

  • If Statements
  • If Statements Quiz
  • If Statements
  • Safe Take Ball
  • Is There a Ball?
  • +1 more

2.11 If/Else Statements

  • If/Else Statements
  • If/Else Statements Quiz
  • If/Else Statements
  • One Ball in Each Spot
  • Right Side Up
  • +1 more

2.12 While Loops in Karel

  • While Loops in Karel
  • While Loops in Karel Quiz
  • Move to Wall
  • Follow The Yellow Ball Road
  • Lay Row of Tennis Balls
  • +1 more

2.13 Control Structures Example

  • Control Structures Example
  • Control Structures Example Quiz
  • Cleanup Karel
  • Random Hurdles

2.14 Debugging Strategies

  • Debugging Basics
  • Debugging Basics
  • Debug: The Two Towers
  • Debug: Lots of Hurdles
  • Debugging From Error Messages
  • +3 more

2.15 Algorithms

  • Karel Algorithms
  • Quiz: Which Control Structure?
  • Algorithms Example: Move Stack
  • Move Tennis Ball Stack
  • Climbing Karel
  • +1 more

2.16 Ultra Karel

  • Ultra Karel
  • Ultra Karel Quiz
  • Red Frame
  • Slip 'n Slide
  • Invert Colors
  • +2 more

2.17 Karel Challenges

  • Fetch
  • Racing Karel
  • Tower Builder
  • Super Cleanup Karel
  • Double Tennis Balls
  • +1 more

2.18 Introduction to Programming Quiz

  • Introduction to Programming Quiz

Courses that include this module