Commit dd7ba2bc by BellCodeEditor

save project

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