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
Random circles
By
Yamini rayini
Run
bg=rectangle(0,0,300,300,fill="white") show(bg) def random_color(): r=random(255) b=random(255) g=random(255) return color(r,b,g,a=0.5) def random_circles(): x=random(-150,150) y=random(-150,150) r=10 return circle(x,y,r,fill=random_color()) for i in range(100): c=random_circles() show(c)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login