Commit 6362a09a by BellCodeEditor

save project

parent 15635ef4
Showing with 2 additions and 1 deletions
class hero: class hero:
def __init__(self): def __init__(self):
self.name="qaz"
self.level=1 self.level=1
self.hp=300 self.hp=300
self.mp=1 self.mp=1
self.attack=200 self.attack=200
print("iygrhirehg") print("iygrhirehg")
qaz=hero() qaz=hero("qaz")
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