Commit 0478d66e by BellCodeEditor

auto save

parent d6746133
Showing with 5 additions and 4 deletions
......@@ -4,6 +4,7 @@ class hero:
self.name=name
self.hp=hp
self.attack=attack
yase=Hero( ))
print(yase.attack)
yase=()
\ No newline at end of file
yase=Hero('亚瑟',300,20)
yase=Hero('后羿',240,23)
print(亚瑟的攻 .attack)
yase=()00
\ 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