04 Scope
# Profile: Python basics. A parameter belongs to this call.
price = 100
def quoted_total(quantity, price):
return quantity * price
print("Quoted total:", quoted_total(2, 30))
print("Caller price:", price)
price = 500
print("Same explicit quote:", quoted_total(2, 30))