Commit b217904f by BellCodeEditor

auto save

parent f6eca7b4
Showing with 56 additions and 0 deletions
"""
name='悟空 '
word='非常感谢'
print(name+word)
num=1
b=1.2
name="jake"
goods=["a","b","c"]
print(type(num))
print(type(b))
print(type(name))
print(type(goods))
import turtle
p=turtle.Pen()
turtle.done()
import turtle
p=turtle.Pen()
p.shape("turtle")
p.forward(200)
p.left(60)
p.forward(200)
turtle.done()
import turtle
p=turtle.Pen()
p.fillcolor("blue")
p.begin_fill()
for i in range(5):
p.forward(200)
p.left(144)
p.end_fill()
turtle.done()
"""
#导入库
import turtle
#设置画笔
p=turtle.Pen()
#设置画笔的颜色
p.color("green")
#设置画笔填充的颜色
p.fillcolor("red")
#设置画笔移动速度
p.speed(1000)
#开始填充
p.begin_fill()
#循环
for i in range(72):
p.forward(200)
p.left(175)
p.end_fill()
turtle.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