Commit ce82eb36 by BellCodeEditor

save project

parent c09c52e2
Showing with 4 additions and 3 deletions
class hero:
def _init_(self):
self.level(14)
self.hp(200)
self.attack(10)
self.level=14
self.hp=200
self.attack=10
yase=Hero()
print(yase.hp)
\ 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