Commit 8f601f17 by BellCodeEditor

save project

parent dd1b5bf9
Showing with 10 additions and 10 deletions
import turtle
p=turtle.Pen()
for i in range(360):
p.forward(i)
p.left(70)
turtle done
\ No newline at end of file
"""
请使用turtle模块画出五角星
"""
import turtle
pen=turtle.Pen()
p.begin_fill("green")
for i in range(36):
pen.forward(200)
pen.left(170)
\ 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