Courses
Sketches
Code a Pookkalam
Grants
Support
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()
New Comment
×
Comments
Joao Futi Muanda
1 week ago
Post
Dismiss
good
good
Want to discuss?
Post it here, our mentors will help you out.
Login