You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Robin Hood.py 393B

12345678910111213141516171819
  1. def do_robin():
  2. if object_here():
  3. take()
  4. else:
  5. put()
  6. while front_is_clear():
  7. do_robin()
  8. move()
  9. do_robin()
  10. ################################################################
  11. # WARNING: Do not change this comment.
  12. # Library Code is below.
  13. ################################################################
  14. def turn_around():
  15. turn_left()
  16. turn_left()