- Reeborg's World Hurdle 3:
- def jump():
- turn_left()
- if not wall_in_front():
- move()
- else:
- turn_right()
- turn_right()
- def move_down():
- turn_right()
- move()
- def turn_right():
- turn_left()
- turn_left()
- turn_left()
- def movecarefully():
- if wall_in_front():
- jump()
- elif not wall_in_front():
- move()
- while not at_goal():
- movecarefully()
Recent Pastes