Commit 24d645f0 by BellCodeEditor

save project

parent 54c22a86
Showing with 3 additions and 3 deletions
...@@ -4,6 +4,6 @@ class Hero: ...@@ -4,6 +4,6 @@ class Hero:
self.Hp=300 self.Hp=300
self.attack=20 self.attack=20
yase=Hero() yase=Hero()
print(yase) print("Yase's level is:"+str(yase.level))
print("Yase's Hp is:"+str(yase.Hp))
print("Yase's attack is:"+str(yase.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