Commit 39ca979f by BellCodeEditor

save project

parent d6c81a0f
Showing with 15 additions and 0 deletions
class FBL:
def __init__(self,name,hp,attack,level):
self.name=name
self.hp=hp
self.attack=attack
self.level=level
SB=FBL("SB",1,2,3)
def a():
SB.level=SB.level+1
SB.hp=SB.hp+9999999999999999999
SB.attack=SB.attack+0
print(SB.level)
a()
a()
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