Commit a27b2b70 by BellCodeEditor

auto save

parent d6c81a0f
Showing with 14 additions and 0 deletions
class H
def _init_(self,name,hp,attack):
s.level = 54188
s.name = name
s.hp = hp
s.attack = attack
Harrypotter = H("哈利波特",5144,152)
creeper = H("苦力怕"3000,3000)
print(Harry.potter.hp)
def up:
Harrypotter.level = Harrypotter.level+1
Harrypotter.hp = Harrypotter.hp+40
Harrypotter.attack = Harrypotter.attack+5
\ 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