Commit e0f67a2f by BellCodeEditor

save project

parent 3f485fcb
Showing with 6 additions and 4 deletions
class Xiaodi: class Xiaodi:
def(self): def __init__ (self,attack,HP,level):
self.gongji=300 self.attack=attack
self.HP=10000000000000000000000000000000000000 self.HP=HP
\ No newline at end of file self.level=level
xiaodi=Xiaodi(HP,attack,level)
print(xiaodi.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