Question: Use the non - fruitful function drawRect as a model. Write another non - fruitful function that draws a filled circle. The function is defined
Use the nonfruitful function drawRect as a model. Write another nonfruitful function that draws a filled circle. The function is defined as
def drawFilledCirclet rad:
Draws a filled circle of radius rad using turtle t
and called with a statement like
drawFilledCircleaxel radius
The contents of the function are to begin filling, draw a circle, end filling.
Make sure you call your function in two different places in the program, using a different actual parameter each time.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
