Commit 5de30342 by BellCodeEditor

save project

parent 640a192b
Showing with 1 additions and 2 deletions
......@@ -4,10 +4,10 @@ class Hero:
self.name=name
self.hp=hp
self.attack=attack
def Score(self):
self.attack=self.attack+100000000000
yase=Hero('yase',300,20)
hy=Hero('hy',250,23)
k=Hero('K',5600,199)
......@@ -19,7 +19,6 @@ print(k.attack)
hy=Hero('hy',250,23)
hy.Score()
print(hy.attack)
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