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
pookkalam
By
Yadumithra
Run
import math c1=circle(0,0,110,fill='Maroon',a=0) c2=circle(0,0,108,fill='Yellow',a=0) c3=circle(0,0,102,fill='Crimson',a=0) c4=circle(0,0,10,fill='DarkMagenta',a=0) c5=circle(0,0,15,fill='white') c6=circle(0,0,20,fill='DarkMagenta') c7=circle(0,0,25,fill='yellow') c8=circle(10,15,20,fill='black') c9=circle(-10,-15,20,fill='black') c10=circle(-15,10,20,fill='black') c11=circle(15,-10,20,fill='black') c14=circle(10,15,15,fill='blue') c15=circle(-10,-15,10,fill='blue') c16=circle(-15,10,10,fill='blue') c17=circle(15,-10,10,fill='blue') c12=circle(0,0,40,fill='fireBrick') c13=circle(0,0,45,fill='darkorange',a=0) largeRadius=110 smallRadius=20 smallerRadius=15 circles=24 Smallnumcircles=24 smallercircles=[] smallCircles=[] for i in range (circles): angle=i*(2*math.pi/circles) x = largeRadius * math.cos(angle) y = largeRadius * math.sin(angle) smallCircles.append(circle(x, y,smallRadius,fill='HotPink')) show(*smallCircles,c15,c1,c2,c3,c13,c12,c11,c10,c14,c16,c17,c9,c8,c7,c6,c5,c4)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login