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
1
Ajnamol N R
By
AJNAMOL N R
Run
def random_color(): r=random(255) g=random(255) b=random(255) return color(r=r,g=g,b=b) c1 = circle(r=25, x=-125, y=125,fill=random_color()) c2 = circle(r=25, x=-125, y=75,fill=random_color()) c3 = circle(r=25, x=-125, y=25,fill=random_color()) c4 = circle(r=25, x=-125, y=-25, fill=random_color()) c5 = circle(r=25, x=-125, y=-76, fill=random_color()) c6 = circle(r=25, x=-125, y=-125, fill=random_color()) c7 = circle(r=25, x=-75, y=125, fill=random_color()) c8 = circle(r=25, x=-75, y=75, fill=random_color()) c9 = circle(r=25, x=-75, y=25,fill=random_color()) c10 = circle(r=25, x=-75, y=-25,fill=random_color()) c11 = circle(r=25, x=-75, y=-75,fill=random_color()) c12 = circle(r=25, x=-75, y=-125, fill=random_color()) c13 = circle(r=25, x=-25, y=-125, fill=random_color()) c14 = circle(r=25, x=-25, y=-75,fill=random_color()) c15 = circle(r=25, x=-25, y=-25, fill=random_color()) c16 = circle(r=25, x=-25, y=25, fill=random_color()) c17 = circle(r=25, x=-25, y=75, fill=random_color()) c18 = circle(r=25, x=-25, y=125,fill=random_color()) c19 = circle(r=25, x=25, y=-125, fill=random_color()) c20 = circle(r=25, x=25, y=-75, fill=random_color()) c21 = circle(r=25, x=25, y=-25, fill=random_color()) c22 = circle(r=25, x=25, y=25, fill=random_color()) c23 = circle(r=25, x=25, y=75, fill=random_color()) c24 = circle(r=25, x=25, y=125, fill=random_color()) c25 = circle(r=25, x=75, y=-125, fill=random_color()) c26 = circle(r=25, x=75, y=-75, fill=random_color()) c27 = circle(r=25, x=75, y=-25, fill=random_color()) c28 = circle(r=25, x=75, y=25, fill=random_color()) c29 = circle(r=25, x=75, y=75, fill=random_color()) c30 = circle(r=25, x=75, y=125, fill=random_color()) c31 = circle(r=25, x=125, y=-125,fill=random_color()) c32 = circle(r=25, x=125, y=-75,fill=random_color()) c33 = circle(r=25, x=125, y=-25,fill=random_color()) c34 = circle(r=25, x=125, y=25,fill=random_color()) c35 = circle(r=25, x=125, y=75,fill=random_color()) c36 = circle(r=25, x=125, y=125,fill=random_color()) show(c1, c2, c3, c4,c5, c6, c7, c8, c9, c10,c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c21, c22, c23, c24, c25, c26, c27, c28, c29, c30,c31, c32, c33, c34,c35,c36)
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login