Commit 13fb5deb by BellCodeEditor

save project

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