Commit 50841f22 by BellCodeEditor

save project

parent 330cd43f
Showing with 10 additions and 2 deletions
class hero: class hero:
def __init__(self): def __init__(self):
self.live=1 self.live=15
self.hp=1111111111111111 self.hp=1111111111111111
self.gonge=99999999999999999999999 self.gonge=99999999999999999999999
yase = hero() yase = hero()
print(yase.live ) print(yase.live )
print(yase.hp )
print(yase.gonge )
class hero:
def __init__(self,name,hp,attack):
self.live=15
self.hp=1111111111111111
self.gonge=99999999999999999999999
self.attack=attack
sb= hero("sb'888'54188")
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