def turn_right(): turn_left() turn_left() turn_left() # This function draws one wave: # over, up, over, down (note: # no step "over" in the end) def draw_wave(): move() turn_left() move() turn_right() move() turn_right() move() turn_left() # This program draws 9 waves in # a row. It uses a loop to do # so. repeat(draw_wave, 9) move() turn_off()