Commit 32ae3b1c by BellCodeEditor

save project

parent d9a35906
Showing with 8 additions and 6 deletions
class Hero: class Hero:
def __init__ (self,name,hp,attack,1a,2a,) def __init__ (self,name,hp,attack,1a,2a,)
self.name = 史诗 self.name = name
self.level = 1 self.level = 1
self.hp = 300 self.hp = hp
self.attack = 20 self.attack = attack
self.1a = 弑血 1 = Hero ("三木"13000000)
self.2a = 意免 2 = Hero('漆世强",3000000000000,9999999999999999999999)
\ No newline at end of file print("三木的血拦为",a.hp)
print("漆世强",b.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