Commit 623a4410 by BellCodeEditor

save project

parent e4f269fc
Showing with 3 additions and 2 deletions
......@@ -6,6 +6,7 @@ class assd:
self.attack=attack
def az():
ya.level=ya.level+1
ya.hp=ya.hp+50
ya.attack=ya.attack+4
ya=assd("ya",3,0)
......@@ -13,4 +14,4 @@ yi=assd("yi",1,-1111111111111111111111111111111111111111111)
print("ya的血",ya.hp)
az()
az()
print("yi的功极",ya.attack)
\ No newline at end of file
print("ya的功极",ya.hp)
\ 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