Commit c565f07a by BellCodeEditor

auto save

parent c18e0d26
Showing with 4 additions and 3 deletions
...@@ -4,9 +4,9 @@ class Hero: ...@@ -4,9 +4,9 @@ class Hero:
self.colour=colour self.colour=colour
self.old=old self.old=old
self.attack=attack self.attack=attack
yase=Hero('小白','black','5') name=Hero(name,'小白',小白)
hy=Hero('hy',250,23) colour=Hero('colour',250,23)
k=Hero('K',5600,199) old=Hero('old',5600,199)
print(yase.attack) print(yase.attack)
print(hy.attack) print(hy.attack)
print(k.attack) print(k.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