Commit 01ddd5d0 by BellCodeEditor

save project

parent 623fb1a6
Showing with 20 additions and 1 deletions
""" """
请使用turtle模块画出五角星 num = 9
float_num = 3.1415926
name = "悟空"
goods = ["雪碧", "可口可乐", "咖啡"]
print(type(goods))
print(type(name))
print(type(float_num))
print(type(num))
""" """
import turtle
pen=turtle.Pen()
pen.shape("turtle")
pen.begin_fill()
pen.fillcolor("green")
for i in range(5):
pen.forward(500)
pen.right(144)
pen.hideturtle()
pen.end_fill()
turtle.done()
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