Commit 7ff306a3 by BellCodeEditor

auto save

parent 3c8331f0
Showing with 5 additions and 4 deletions
class Hero:
def __init__(self,name,hp,attac):
def __init__(self,name,hp,attack):
self.name = name
self.hp = 300000000
self.lever = 1
self.attack = 30000000
yase = Hero()
print(yase.hp)
\ No newline at end of file
yase = Hero(300,20,"亚瑟")
yase = Hero(300,20,"亚瑟")
\ 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