What Students Say
Here are our students...
class Parent:
def show(self):
print("Parent method")
class Child(Parent):
def show(self):
super().show() # calls Parent's show()
print("Child method")
c = Child()
c.show()
class A:
def __init__(self):
print("Init A")
class B(A):
def __init__(self):
super().__init__()
print("Init B")
b = B()
a = [1, 2, 3]
print(dir(a))
class Student:
def __init__(self, name):
self.name = name
print(dir(Student))
class Person:
def __init__(self, name, age):
self.name = name
self.age = age
p = Person("Mayank", 14)
print(p.__dict__)
{'name': 'Mayank', 'age': 14}
class Teacher:
"""This is a sample class for a Teacher"""
def __init__(self):
"""Initializes the teacher"""
self.subject = "Math"
help(Teacher)
Here are our students...
Empower your tech dreams with us. Get in touch!




