Beispiele und Musterlösungen
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.

tulip.py 257B

12345678910111213141516171819
  1. def plant_a_tulip():
  2. move()
  3. turn_left()
  4. turn_left()
  5. turn_left()
  6. move()
  7. put()
  8. turn_left()
  9. turn_left()
  10. move()
  11. turn_left()
  12. turn_left()
  13. turn_left()
  14. move()
  15. while front_is_clear():
  16. plant_a_tulip()