Calvin (Deutschbein)
Slides by Jed Rembold
10 January 2022
To gain the skills, knowledge, and confidence necessary to write, test, and debug Python programs requiring several hundred lines of code.
Doing so will require that students be able to:
Homework | 40% |
Midterms | 40% |
Final Project | 20% |
Problem Sets | 20% |
Projects | 20% |
Midterm I | 20% |
Midterm II | 20% |
Final | 20% |
Command | Action |
---|---|
move() |
Moves Karel forward one corner in whatever direction they are facing |
turn_left() |
Rotates Karel 90 deg counter-clockwise |
pick_beeper() |
Picks up a beeper on the ground |
put_beeper() |
Places a beeper on the ground |
def main():
move()
turn_left()
turn_left()
turn_left()
move()
turn_left()
move()
turn_left()
turn_left()
turn_left()
move()
pick_beeper()
turn_left()
turn_left()
turn_left()
move()
move()
put_beeper()