Question: 1) In Python 1 Write a function named concentric that uses turtle graphics to draw a concentric (same center) circle of specified radius. The function
1)
In Python
1
Write a function named concentric that uses turtle graphics to draw a concentric (same center) circle of specified radius. The function concentric takes two parameters: t, a turtle that is used to draw the circle. The turtle t may be in any position, orientation and up/down state. radius, a positive integer that is the radius of the circle to draw 1. 2. The function concentric should: 1. 2. draw a circle whose center is the initial position of t leave t in its initial position and orientation when it returns For example, if aTurtle is pointed to the right, the function call concentric(aTurtle, 100) should produce the graphical output at the left. The function concentric may use the circle method in the turtle class, which draws a circle of specified radius in a counterclockwise direction. Note: the circle method draws a circle with the turtle on the perimeter, not at the center. For example, t.circle(100) draws the circle at the right
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
