def plant_a_tulip(): move() turn_left() turn_left() turn_left() move() put() turn_left() turn_left() move() turn_left() turn_left() turn_left() move() while front_is_clear(): plant_a_tulip()