Commit 422ef968 by BellCodeEditor

save project

parent 4d08eb16
Showing with 16 additions and 0 deletions
class Hero:
def_int_(selfname,hp,attack):
self.level=1
self.name=name
self.hp=hp
self.attack=attack
a=Hero("瑟"85957823947238946827893465762,4987529857432589572438654787829)
b=Hero("鱼"57854657346586437845673983754,7438589375847583583767777878996)
c=Hero("将"94895743009593825734678349578,3849638590324672309875634896524)
print("瑟血:",a.level)
print("鱼血:"a.hp)
print("将攻:"a.attack)
"""
class Hero:
def_int_(self):
self.level=1
self.he=3355424323
......@@ -8,3 +22,4 @@ a=Hero()
print("a级:",a.level)
print("a血:"a.hp)
print("a攻:"a.attack)
"""
\ 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