Commit 9a73cc24 by BellCodeEditor

save project

parent 7fd64144
Showing with 10 additions and 0 deletions
...@@ -8,3 +8,12 @@ yase=hero('yese',300,20) ...@@ -8,3 +8,12 @@ yase=hero('yese',300,20)
hy=hero("hy",250,30) hy=hero("hy",250,30)
print(yase.attack) print(yase.attack)
print(hy.attack) print(hy.attack)
def shenji():
yase.lever+=1
yase.hp+=50
yase.attack+=5
shenji()
shenji()
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