Commit 2c7092ea by BellCodeEditor

save project

parent 89b7ee5c
Showing with 3 additions and 2 deletions
......@@ -6,4 +6,5 @@ class Hero:
self.attack = attack
kun = Hero('蔡徐坤',114,514)
zhiyi = Hero('鸡',2.5,2.5)
\ No newline at end of file
zhiyi = Hero('鸡',2.5,2.5)
print('蔡徐坤的血量是:',kun.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