Commit 7254887b by BellCodeEditor

auto save

parent 9967abd8
Showing with 7 additions and 5 deletions
class Hero: class Hero:
def __init__(self): def __init__(self,hp,attack):
self.HP=300 self.HP=hp
self.Attack=500 self.Attack=attack
self.name="亚瑟" self.level=1
\ No newline at end of file
YaSe=Hero(5000,250)
\ 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