Commit 02b10b8a by BellCodeEditor

save project

parent beb8e96d
Showing with 23 additions and 0 deletions
class ij:
def __init__(self,hp,attack,mp):
self.level=1
self.hp=hp
self.attack=attack
self.mp=mp
kai=ij(64,12345,145)
lan=ij(2334232,1,4567890345678)
print(kai.hp)
print(lan.hp)
def fg():
kai.level=kai.level+1
kai.hp=kai.hp+50
kai.attack=kai.attack+43664354354354333
def fesf():
lan.level= lan.level+1
lan.hp=lan.hp+50
lan.attack=lan.attack+43664354354354333
fg()
print(kai.hp)
fesf()
print(lan.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