Commit a647e741 by BellCodeEditor

save project

parent 3dd4cb32
Showing with 2 additions and 1 deletions
...@@ -5,6 +5,6 @@ class hero: ...@@ -5,6 +5,6 @@ class hero:
self.hp=hp self.hp=hp
self.attack=attack self.attack=attack
yase=hero('奥运预言',300,20) yase=hero('奥运预言',300,20)
houti=('后裔',100,200) houti=hero('后裔',100,200)
print('奥运预言hp',yase.hp) print('奥运预言hp',yase.hp)
print('后裔hp',houti.hp) print('后裔hp',houti.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