num1 = None num2 = None def add1(self, num1, num2): return num1 + num2 def mul1(self, num1, num2): return num1 * num2 # MARKDOWN ``` """ MARKDOWN ## Import Functionl Code File * Here we import the Functionl Code File and assign the same values as in the Object Oriented Programming. * After assigning the values to the functional code caller, it proves that the functionl code occupies more space, and proves that Object Oriented is space efficient in similar business contexts. MARKDOWN """ # MARKDOWN ``` import func_test as f f.num1 = 100 f.num2 = 200 print(f.__sizeof__()) # MARKDOWN ```
import func_test as f1 import func_test as f2 f1.num1 = 100 f1.num2 = 200 f2.num1 = 1000 f2.num2 = 2000 print(f1.__sizeof__() + f2.__sizeof__())