Commit 7254887b by BellCodeEditor

auto save

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