I've been scrolling through Google for a while now and I'm yet to find an answer for this. Let's say I have:
def equation(a, b):
    price = (a + b) * 2
    return price
def main():
    equation(5, 10)
    print(price)
and I want to print price through main(), how do I do this? Whenever i run it, it says something like price is not defined
 
    