Question: ( 1 5 points ) Write a function pic ( radius , color 1 , color 2 ) that draw the image below. To hide

(15 points) Write a function pic(radius, color1, color2) that draw the image below. To hide the turtle at the end, you can use hideturtle() function.
[84]
12435
import ColabTurtlePlus.Turtle as Tdef pic(radius, color1, color2):
output
To call the function, use the code below.
[78]
error
0s
12345
from ColabTurtlePlus.Turtle import *initializeTurtle(window=(450,450))pic(200, "white", "black")pic(200, "black", "white")hideturtle()
output

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 Programming Questions!