composition/aggregation recall that each value in python has typee has the type float or 'pythonhas the type str (=stringif we create an objectit also has typewhich is the class from which it was created we can check the type of an object using the type function stefansacc account( "stefan" type(stefansacc the type of the stefansacc object is the class from which it was created the attributes of an object can be of any type this means that the attributes of an object can be objects themselves in factalthough we haven' told you so faranything is an object in pythonalso stringsnumberslists or dictionaries the terms composition and aggregation refer to the fact that we can compose more complex objects out of multiple objects composition implies that the owned objects only exist 'withinthe more complex object for instanceif university is closedso are all its departments aggregation implies that an object is part of more complex objectbut if the larger object is destroyedthe smaller one may still exist for instancewe can define person class that deals with information about personsand we save the information about an account holder in person object as shown in the following example if the account is closedthe person still exists (and so may its object bank might save information about former customer even after the customer closed his or her account class persondef __init__(selffla)self firstname self lastname self age def __str__(self)return "[personself firstname self lastname (str(self age")]class accountdef __init__(selfpersonnum)self holder person self num num self balance def deposit(selfamount)self balance +amount anne person("anne""friedrich" annesacc account(anne annemarie friedrichcis lmu munchenws /