Commit 779a906e by BellCodeEditor

save project

parent f0264b58
Showing with 3 additions and 3 deletions
class Hero: class Hero:
def __init__(self): def __init__(self):
self.hp=300 self.hp=300
self.att=60 self.attack=60
ys=Hero() ys=Hero()
print(ys.att) print(ys.attack)
\ 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