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
increasing concentric circles
By
ARJUN
Run
def concentric(x,y,R): r=R/3 shape=circle(x=x,y=y,r=R/3) + circle(x=x,y=y,r=2*R/3) + circle(x=x,y=y,r=R) return(shape) def threeinrow(shape,x,y,r): c = shape(x=x-5*r,y=y+r,R=r) + shape(x=x-2*r,y=y+2*r,R=2*r) + shape(x=x+3*r,y=y+3*r,R=3*r) return(c) d = threeinrow(concentric,x=0,y=0,r=25) show(d)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login