Commit ead30381 by BellCodeEditor

auto save

parent 3b1ae8a7
Showing with 3 additions and 0 deletions
......@@ -4,6 +4,9 @@ class hero:
self.hp=hp
self.attack=attack
yase=hero("亚瑟",100,200)
yase.name="七套"
yase.hp=1700
yase.attack=400
hoyi=hero("后裔",200,100)
print("血量是"+str(yase.hp))
print("名字是"+str(yase.name))
......
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