Commit 201952ca by BellCodeEditor

save project

parent ad525a37
Showing with 2 additions and 1 deletions
...@@ -3,7 +3,8 @@ class hero: ...@@ -3,7 +3,8 @@ class hero:
self.level=1 self.level=1
self.hp=300 self.hp=300
self.attack=2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 self.attack=2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
yase=hero(300,2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)
hoyi=hero(250,23333333333333333333333333333333333)
yase = hero() yase = hero()
print("yase:",yase.hp) print("yase:",yase.hp)
print("yase:yase.attace") print("yase:yase.attace")
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