Commit 9a73cc24 by BellCodeEditor

save project

parent 7fd64144
Showing with 11 additions and 2 deletions
......@@ -7,4 +7,13 @@ class hero:
yase=hero('yese',300,20)
hy=hero("hy",250,30)
print(yase.attack)
print(hy.attack)
\ No newline at end of file
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