Commit 9b473f85 by BellCodeEditor

save project

parent c4aa4833
Showing with 10 additions and 8 deletions
class i: class juese:
def __init__(self): def __init__(self,Name,hp,attack):
self.ab=1 self.level=1
self.cd=300 self.hp=hp
self.attack=20 self.attack=attack
yase=i() self.name=Name
print(yase.cd) yase=juese("yase",300,20)
\ No newline at end of file houyi=juese("houyi",250,23)
print(houyi.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