In order to eject the soda, we need to allow the customer to pay. Write a function called pay which takes in the parameters self and amount.
pay
self
amount
Make sure to pick def followed by pay and then (, self, amount, ), :.
def
(
)
: