Commit 6b2f8f49 by BellCodeEditor

save project

parent 02a43d31
Showing with 7 additions and 5 deletions
class Hero:
def __init__(self):
self.Hp=random(1,999999999999999999999999999999999999999999999999999999999999)
self.level=random(1,15)
self.attack=random(1,33333333333333333333333333336666666666666666666666666666)
yase=Hero()
def __init__(self,name,hp,attack):
self.hp=hp
self.name=name
self.level=1
self.attack=attack
yase=Hero("yase",300,240)
hongyi=Hero("hongyi",300,240)
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