Commit 6dcbf9a0 by BellCodeEditor

save project

parent 22354288
Showing with 14 additions and 0 deletions
class hero:
def __init__(self,name,hp,att):
self.level:1
self.name=name
self.hp=hp
self.att=att
feij=hero("yaz",1111,2222)
fesg=hero("gg",44,44)
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