Commit 9facef12 by BellCodeEditor

save project

parent d6c81a0f
Showing with 21 additions and 0 deletions
class Fack:
def __init__(self,name,HP,attack):
self.name=name
self.level=12321313212132
self.HP=HP
self.attack=attack
laoba=Fack("老八",1111111111111111111111111111111111111111111111111111111111111111111111111111,121312312341222222222222222222222222222222)
def upgrade():
laoba.level= laoba.level+1
laoba.HP=laoba.HP+100000000
laoba.level= laoba.attack+300000000
upgrade()
upgrade()
upgrade()
upgrade()
upgrade()
upgrade()
upgrade()
upgrade()
upgrade()
print("老八的血量",laoba.HP)
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