Commit e0f67a2f by BellCodeEditor

save project

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