Explore
Courses
Batches
Sketches
Statistics
Code a Pookkalam
Jobs
Devsprint
People
Course Creation
Create a Course
Guidelines
Resources
Support
Blogs
My Profile
About Us
Login
Sketches
0
New Sketch
By
Safoora azhar
Run
def outer(side,color): return rectangle(w=side,h=side,fill=color,stroke="none") firstCircle = circle(r=145,fill="black",stroke="none") show(firstCircle) maroon=outer(side=203,color="#8b0000")|repeat(10,rotate(10)) show(maroon) red=outer(side=189,color="#ff0000")|rotate(5)|repeat(10,rotate(10)) show(red) orange=outer(side=174,color="#ff6700")|rotate(10)|repeat(10,rotate(10)) show(orange) amber=outer(side=160,color="#ffbf00")|rotate(15)|repeat(10,rotate(10)) show(amber) secondCircle = circle(r=104,fill="green",stroke="none") show(secondCircle)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login