Commit 10174ebb by BellCodeEditor

save project

parent 78a79807
Showing with 3 additions and 17 deletions
import turtle
pen=turtle.Pen()
r=40
x=10
y=10
for i in range(5):
for i in range(4):
pen.forward(r)
pen.left(90)
pen.penup()
pen.goto(-x,-y)
pen.pendown()
r=r+20
x=x+10
y=y+10
turtle.done()
\ No newline at end of file
dict={'可乐':5,'农夫山泉':2,'娃哈哈':6}
del dict
print(dict)
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