Commit e6976ad5 by BellCodeEditor

save project

parent a27b2b70
Showing with 0 additions and 14 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