I have a class called House. The instance of this class is house.
class House:
def __init__(self, height, length):
self.height = height
self.length = length
def housePlan():
houseHeight = self.height
houseEdgeLength = self.length
house = House(height,length)
I have another class called Person. This class gets several inputs including an instance of House.
class Person:
def __init__(self,name, house):
self.name = name
self.house = house
Question Edit: I would like to present my program to an audiance, how I can present these relationships with diagrams?
