Commit bcc59bd6 by BellCodeEditor

auto save

parent 623fb1a6
Showing with 11 additions and 0 deletions
""" """
请使用turtle模块画出五角星 请使用turtle模块画出五角星
""" """
#导入画笔模块
import turtle
#创建画笔工具
pen = turtle.Pen()
#循环5次
for i in range(5):
pen.forward(200)
pen.right(144)
#隐藏画笔
pen.hideturtle()
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