Commit 1fc7e194 by BellCodeEditor

save project

parent 53719b50
Showing with 8 additions and 0 deletions
""" """
请使用turtle模块画出五角星 请使用turtle模块画出五角星
""" """
import turtle#导出模块
pen = turtle.Pen()#导出类
pen.hideturtle()#隐藏画笔
for i in range(5):#循环5次
    pen.forward(200)#画笔移动200距离
    pen.right(144)#右转144度
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