Commit 768b1ca6 by BellCodeEditor

auto save

parent 7bfeef88
Showing with 11 additions and 8 deletions
class Hero: import turtle
def __init__(self,name): pen=turtle.Pen()
self.name=name pen.pencolor("red")
self.level=1 pen.pensize(20)
self.hp=220 pen.left(45)
self.attack=25 pen.forward(100)
self.max_hp=self.hp pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
turtle.done()
def
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