Commit 020dfa03 by BellCodeEditor

save project

parent a8392f66
Showing with 6 additions and 11 deletions
"""
请使用turtle模块画出五角星
"""
import turtle import turtle
open=turtle.pen() a=turtle.Pen
For i in range(5) b=4
pen.forward(200) for i in range(b):
pen.right(144) a.left(360/b)
pen.hideturtle() a.forward(90)
pen.done() 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