The mascot dog for CodeHS.
What is Karel?
DEFINE function():
What is define?
for x in range(5)
move()
What is a for loop?
A variable that has text that is inside " ".
What is a string?
Jolly man in a red suit that delivers presents to children on Christmas Eve?
turn_left()
move()
take_ball()
put_ball()
What is Karel's original commands?
turnLeft()
What is _ and lowercase l?
Repeat some code while condition is true.
What is a while loop?
True or false
What is a boolean?
Dasher, Dancer, Prancer, Vixen, Comet, Cupid, Donner, Blitzen, Rudolf.
Who are Santa's reindeer?
turn_around()
What are super Karel commands?
MOVE
What is move--should be lower case ()
To do something if a condition is true and something else if it is not.
What is an if/else statement?
We use the word "float" to describe this type of variable.
What is a decimal?
Milk and cookies.
What is left out for Santa on Christmas Eve?
The amount of times Karel has to turn left to turn right.
What is 3?
take_the_ball()
What is the?
Used when repeating a fixed number of times.
What is a for loop?
Similar to a grammar error in English, this is a type of error in computer programming.
What is syntax error?
A red and white candy shaped like a shepherd's staff.
What is a candy cane?
def spin():
turn_left()
turn_left()
turn_left()
turn_left()
What is Karel spinning in one circle?
ball_take()
What is backwards--take_ball()
Control the flow of the program; how the commands execute
Why do we use control structures in Python?
What is a while loop?
Hung by the chimney with care....
What are stockings?