0
Accessing parent classes function inside a child class
class Parent: def __init__(self): def func(): print('hello') class Child(Parent): def __init__(self): # is it possible to call the func function here?
1 Antwort
class Parent: def __init__(self): def func(): print('hello') class Child(Parent): def __init__(self): # is it possible to call the func function here?