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
Dice
By
Kaustubh Patil
Run
black = "#000000" white = "#FFFFFF" blue = "#0000FF" green = "#00FF00" red = "#FF0000" import random square = rectangle(w=112, h=112,fill=red) show(square) cr = circle(r=8, fill=black) def three(): show(cr) cr5 = cr | translate(x=-25, y=-25) show(cr5) cr0 = cr | translate(x=25, y=25) show(cr0) def one(): show(cr) def five(): show(cr) five() ####### choice = random.choice([one,five]) choice()
Comments
Joao Futi Muanda
2 years ago
Post
Dismiss
good
good
Want to discuss?
Post it here, our mentors will help you out.
Login