Question: Create a program trianglePursuit.py. For this, set up three turtles at the corners of an equilateral triangle, of side 400 units. In this program, turtle

 Create a program trianglePursuit.py. For this, set up three turtles at

Create a program trianglePursuit.py. For this, set up three turtles at the corners of an equilateral triangle, of side 400 units. In this program, turtle 1 chases turtle 2 . Turtle 2 chases turtle 3 and turtle 3 chases turtle 1. Each turtle should trace its path (use a different color for each turtle's path) as above. Stop the program when the turtles meet. You may need to specify a distance (rather than an exact location) to stop the turtles, as having multiple turtles stop in the exact location using floating point numbers is rare

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!