Commit 7bfeef88 by BellCodeEditor

auto save

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