Commit 1e71c359 by BellCodeEditor

save project

parent 96710f1b
Showing with 7 additions and 7 deletions
class a: class Hero:
def __init__(self): def __init__(self,hp,Gj):
self.hp=100 self.hp=hp
self.Gj=50 self.Gj=Gj
self.dj=1 self.dj=1
z=a() yase=Hero(100,20)
print(z.dj) print(yase.Gj)
\ No newline at end of file \ 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