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
3.0
By
ARJUN
Run
def worli(p1,p2,p3): c = polygon([p1, p2, p3],stroke="black", stroke_width=5,fill="gold") c1 = c | rotate(180) c2 = circle(x=0,y=100,r=40,stroke="black", stroke_width=5) c3 = line(x1=50,y1=50,x2=100,y2=0,stroke_width=5) + line(x1=100,y1=0,x2=150,y2=50,stroke_width=5) c4 = c3 | rotate(270) return(c+c1+c2+c3+c4) w = worli(p1 = point(x=0, y=0), p2 = point(x=-50, y=50), p3 = point(x=50, y=50)) show(w)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login