Commit 13fb5deb by BellCodeEditor

save project

parent 6dcbf9a0
Showing with 5 additions and 6 deletions
......@@ -4,10 +4,9 @@ class hero:
self.name=name
self.hp=hp
self.att=att
def fff (self):
self.level=self.level+1
self.hp=self.hp+100
self.att=self.att+90
feij=hero("yaz",1111,2222)
fesg=hero("gg",44,44)
\ No newline at end of file
def fff ():
fesg.level=fesg.level+1
fesg.hp=fesg.hp+100
fesg.att=fesg.att+90
\ 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