# ------------------------------------------------------------------------------- # EXERCISE 1: Name your rocket! def namerocket(): name = "0" return name # ------------------------------------------------------------------------------- # EXERCISE 2: Set your gravity. def setgravity(): gravity = 0 return gravity # ------------------------------------------------------------------------------- # EXERCISE 3: Stop the rocket when it hits the ground. # You have two variables in this exercise: # y: the y coordinate of the rocket # ground: the y coordinate of the ground # Return True when the rocket should stop, and return False otherwise. def stoprocket(y, ground): return False # ------------------------------------------------------------------------------- # EXERCISE 4: Find the angle that makes your rocket travel the farthest horizontal distance. def bestangle(): angle = 0 return angle # ------------------------------------------------------------------------------- # EXERCISE 5: Use turtle graphics to draw a house! def draw_house(house_turtle): house_turtle.goto(0, 0)