Commit 11b4279c by BellCodeEditor

save project

parent a2ee87cd
Showing with 4 additions and 4 deletions
......@@ -3,6 +3,6 @@ class Hero:
self.level=1
self.hp=300
self.attack=20
yase=Hero
print('亚瑟的血量是',yase.hp)
print('亚瑟的攻击是',yase.attack)
\ No newline at end of file
yase=Hero()
print('yase的血量是',yase.hp)
print('yase的攻击是',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