Commit e7aca98a by BellCodeEditor

save project

parent c3288164
Showing with 3 additions and 3 deletions
......@@ -8,5 +8,5 @@ class Hero:
yase = Hero("1",300,20)
hyi = Hero("2",250,23)
print("....%d,....%d,....%d,....%d"%(yase.level,yase.name,yase.hp,yase.attack))
print("....%d,....%d,....%d,....%d"%(hyi.level,hyi.name,hyi.hp,hyi.attack))
\ No newline at end of file
print("....%s,....%d,....%d,....%d"%(yase.level,yase.name,yase.hp,yase.attack))
print("....%s,....%d,....%d,....%d"%(hyi.level,hyi.name,hyi.hp,hyi.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