Commit 849658ab by BellCodeEditor

save project

parent 7ea9d9e3
Showing with 2 additions and 2 deletions
......@@ -6,5 +6,5 @@ class Hero:
self.gongji=gongji
tanyayun=Hero('炭雅均',114514,114)
ysmj=Hero('毛巾卷',258000,114514)
print("炭雅均的生命值是:"+tanyayun.hp)
print("毛巾卷的生命值是:"+ysmj.hp)
print("炭雅均的生命值是:",tanyayun.hp)
print("毛巾卷的生命值是:",ysmj.hp)
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