Commit 2cc561b6 by BellCodeEditor

save project

parent 4cf88200
Showing with 5 additions and 0 deletions
...@@ -10,3 +10,7 @@ cyc=Hero('cyc',300,500) ...@@ -10,3 +10,7 @@ cyc=Hero('cyc',300,500)
print(yase.attack) print(yase.attack)
print(hy.attack) print(hy.attack)
print(cyc.attack) print(cyc.attack)
def update():
cyc.hp+=50
update()
print(cyc.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