Commit 0d20802c by BellCodeEditor

auto save

parent 70f59dfe
Showing with 9 additions and 8 deletions
class A: class Hero:
def __init__(self): def __init__(self,a,b,c):
self.level=1: self.level=1
self.hp=300: self.a=a
self.attack=20: self.b=b
SBB=A self.c=c
print(SBB) yase=Hero()
\ No newline at end of file print(Hero)
\ 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