Commit f6244715 by BellCodeEditor

save project

parent b7006474
Showing with 4 additions and 3 deletions
...@@ -3,6 +3,7 @@ class Hero: ...@@ -3,6 +3,7 @@ class Hero:
self.level = 1 self.level = 1
self.hp= 1 self.hp= 1
self.attack= 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 self.attack= 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
sb =Hero() sb =Hero("sb",1,9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)
sb=Hero("a"1234567890,11111111111111111111)
print("asdfgfdsasdergfd",sb.hp) print("asdfgfdsasdergfd",sb.hp)
print("asdfgfdsasdfdsss"sb.attack) print("asdfgfdsasdfdsss"a.attack)
\ No newline at end of file \ 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