Commit 93cb6339 by BellCodeEditor

save project

parent aa58559a
Showing with 7 additions and 0 deletions
...@@ -6,3 +6,9 @@ class Haro: ...@@ -6,3 +6,9 @@ class Haro:
pipy=Haro pipy=Haro
print("pipy的血量值为:",yase.hp) print("pipy的血量值为:",yase.hp)
print("pipy的攻击力为:",yase.attack) print("pipy的攻击力为:",yase.attack)
def up():
self.hp=300+50
self.attack=20+4
self.level=1+1
up()
up()
\ 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