Commit 1e71c359 by BellCodeEditor

save project

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