Commit bf313978 by BellCodeEditor

save project

parent 5b50105e
Showing with 13 additions and 6 deletions
class h:
def __init__(self):
self.hp=250
self.l=2
yase=h()
print(yase.hp)
import turtle
pen = turtle.Pen()
pen.fillcolor("red")
pen.begin_fill()
for i in range(36):
pen.forward(200) # 移动200
pen.left(170) # 改变方向
pen.end_fill()
pen.hideturtle()
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