The program below stops with an error. Which statement correctly describes the problem?
price = 100
def apply_offer():
print("Old price:", price)
price = 80
return price
apply_offer()
Python decides which names are local when it compiles the function. Pass the price in as a parameter instead.