Commit dd7ba2bc by BellCodeEditor

save project

parent b6e3b29c
Showing with 5 additions and 6 deletions
class AaAa:
def __init__(self):
self.hp=500
def __init__(self,hp,gj):
self.hp=hp
self.level=1
self.gj=50
yase=AaAa()
print(yase.hp)
\ No newline at end of file
self.gj=gj
yase=AaAa(300,50)
houyi=AaAa(250,60)
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