Commit a5329830 by BellCodeEditor

save project

parent 1afef77b
Showing with 10 additions and 9 deletions
class hero: class Hero:
def__init__(self): def__init__(self):
self.level=15 self.level=1
self.hp=8000 self.hp=300
self.at=900 self.attack=20
self.level=hero() self=yase()
self.hp=hero() print(self.level)
self.at=hero() print(self.hp)
print(hero) print(self.at)
\ 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