Commit 30e1821b by BellCodeEditor

save project

parent d8b5cff1
Showing with 6 additions and 6 deletions
class Hero(): class Hero():
def __init__(n,name,level,Hp,attck): def __init__(n,name,level,Hp,attck):
n.level= n.level=level
n.Hp=1075 n.Hp=Hp
n.attck=297 n.attck=attck
SilverAsh=Hero() SilverAsh=Hero(11075297)
print(SilverAsh.level) print(SilverAsh)
\ No newline at end of file \ 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