Commit eda9d18f by BellCodeEditor

save project

parent 4669dde5
Showing with 8 additions and 5 deletions
class a: class a:
def _init_(self): def __init__(self,name,hp,attack):
self.level=10000000000000000000000 self.level=1
self.hp=12000000000000000000000000000000000000000000000000000000000000 self.hp=hp
self.ateach=10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 self.attack=attack
yase=a() self.name=name
yase=a("yase",300,2)
houyi=a("houyi",400,6)
print(yase.hp) print(yase.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