super function in python class code example
Example 1: python super
# It's kinda hard to explain this just by code.
# So I'll provide a link to a pretty good explanation of it.
https://www.pythonforbeginners.com/super/working-python-super-function
Example 2: python super
class Square(Rectangle):
def __init__(self, length):
super().__init__(length, length)