Commit 812c8cd3 by BellCodeEditor

save project

parent b9b102eb
Showing with 5 additions and 3 deletions
......@@ -5,6 +5,8 @@ class Hero:
self.dps=dps
self.hp=hp
h1=Hero('鸭瑟',1,1)
h2=Hero('鸭瑟',2,2)
h2=Hero('后裔',2,2)
h3=Hero('小灰灰',200,200)
print('鸭瑟血量:',h1.hp)
print('鸭瑟血量:',h2.hp)
\ No newline at end of file
print('后裔血量:',h2.hp)
print('小灰灰血量:',h3.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