Commit f72571fd by BellCodeEditor

save project

parent cc9292ac
Showing with 3 additions and 3 deletions
...@@ -6,5 +6,5 @@ class hero: ...@@ -6,5 +6,5 @@ class hero:
self.attack=attack self.attack=attack
yase=hero('奥运预言'300,20) yase=hero('奥运预言'300,20)
houti=('后裔',100,200) houti=('后裔',100,200)
print('奥运预言hp',yese.hp) print('奥运预言hp',yase.hp)
print('后裔hp',yese.hp) print('后裔hp',houyi.hp)
\ No newline at end of file \ 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