will import the math module. Any functions that you use would have to be used as math. ... But if you import everything inside the refrigerator ( from math import * ), then that means you can freely use the food and bottles as they have already been taken from the refrigerator and outside it (so, no need for refrigerator.