Commit c3a9c755 by BellCodeEditor

save project

parent 6d171ff5
Showing with 3 additions and 5 deletions
"""
请使用turtle模块画出五角星
"""
import turtle import turtle
turtle.color("red") pen=turtle.Pen()
pen.shape("turtle")
for i in range(5): for i in range(5):
turtle.fd(200) turtle.fd(200)
turtle.right(144) turtle.right(144)
turtle.end-fill(5) turtle.end-fill()
turtle.done() 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