from karel.stanfordkarel import *
"""
Your job in the assignment is to add the necessary code to
instruct Karel to put beeper at the four corner of the room
and return to its original position at bottom left.
"""
def main():
"""
You should write your code to make Karel do its task in
this function. Make sure to delete the 'pass' line before
starting to write your own code. You should also delete this
comment and replace it with a better, more descriptive one.
"""
pass
# There is no need to edit code beyond this point
if __name__ == "__main__":
run_karel_program()
from stanfordkarel import *
def main():
turn_left()
move()
turn_left()
if __name__ == "__main__":
run_karel_program()
Comments
Leave a comment