Error
Errors:
Grader Results
Pass | Test | Message | |
---|---|---|---|
- | Test results will show here. | - |
Errors:
Welcome to your first Clean Up Challenge! Your job is to write a program that has Karel walk down the street and pick up litter as she goes.
Make sure that Karel walks all the way down the street. Your program should match the Ending World.
Ending World
Karel's Built in Commands
Karel Commands
|
|
|
|
|
UltraKarel
UltraKarel Commands
|
UltraKarel Conditions
|
|
Color
Random
Functions
Writing a Function
Writing a function is like teaching karel a new word.
Naming Functions: You can name your functions whatever you want, but you can't have spaces in the function name.
Remember that commands in functions must be indented one level
Calling a Function
You call a function to tell the computer to actually carry out the new command.
Conditional Statements
Remember that comands in conditional statements must be indented one level.If statements
If/Else statements
Example of if statements
Karel Conditions
Don't forget the()
at the end!
|
|