Commit fdb4bca4 by BellCodeEditor

save project

parent 156a2d16
Showing with 2 additions and 0 deletions
...@@ -12,5 +12,6 @@ class Hero(): ...@@ -12,5 +12,6 @@ class Hero():
yase=Hero("垭瑟",300,20) yase=Hero("垭瑟",300,20)
yase.up() yase.up()
print("垭瑟") print("垭瑟")
print(yase.level)
print(yase.hp) print(yase.hp)
print(yase.attack) print(yase.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