Commit 06021254 by BellCodeEditor

auto save

parent 1c95a205
Showing with 1601 additions and 2 deletions
......@@ -4,6 +4,1606 @@ class hero:
self.hp=300
self.attack=200000
def updata():
yase.level=yase.level+1
yase.hp=yase.hp+3
yase.attagk=yase.attagk+4
yase =Hero()
print("yase的血量值为:"yase.hp)
print("yase的攻击力为:"yase.attagk)
\ No newline at end of file
print("yase的攻击力为:"yase.attagk)
print("yase的血量值为:"yase.attagk)
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