The “Lucky Dollar Store” wants to test out a new loyalty program so that with each new purchase, a customer is automatically entered in a weekly raffle (one ticket per purchase). At the end of the week, several users can be chosen from a drawing to win giveaway prizes (depending how generous the manager feels).
They’ve hired you to implement this raffle and generously gave you these two functions they will be calling:
def record_customer_purchase(customer):
# Fill this in