Commit 77e75a3e by BellCodeEditor

save project

parent d389a888
Showing with 4 additions and 14 deletions
ls=["black","red","yellow","white","green"] dict={}
import turtle as t dict['猴十']=25
import random as r print(dict)
a=t.Pen() \ No newline at end of file
for i in range(5):
a.pencolor(r.choice(ls))
x=r.randint(-100,100)
y=r.randint(-100,100)
a.penup()
a.goto(x,y)
a.pendown()
a.circle(r.randint(20,50))
t.done()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment