Commit 443eae94 by BellCodeEditor

save project

parent 24989378
Showing with 3 additions and 1 deletions
...@@ -4,5 +4,6 @@ class Hero: ...@@ -4,5 +4,6 @@ class Hero:
self.name=name self.name=name
self.hp=hp self.hp=hp
self.attack=attack self.attack=attack
yase=Hero("庄周","10000","1000") ys=Hero("庄周","10000","100000000")
drj=Hero("狄仁杰","1000000","10000")
print(yase.name) print(yase.name)
\ 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