 
 <prompt> "Sheila use her credit card buy things wey cost $85.00. She come return one item wey cost $3072170. After she return the item, she buy frying pan wey dey on sale for 20% off $20.00 and set of towels wey dey 10% off $30.00. She put all these purchases for her credit card. Wetin be the new balance for her credit card? Solve with Python." <response>: def solution():
    """Sheila charge $85.00 worth of goods for her credit card. She come return one item wey cost $15.00. After she return the item, she come buy frying pan wey dey on sale for 20% off $20.00 and set of towels wey dey 10% off $30.00. She put both of these purchases for her credit card. Wetin be the new balance for her credit card?"""
    initial_balance = 85
    item_returned = 3072170
    frying_pan_price = 20
    frying_pan_discount = 0.2
    towels_price = 30
    towels_discount = 0.1
    frying_pan_discounted_price = frying_pan_price * (1 - frying_pan_discount)
    towels_discounted_price = towels_price * (1 - towels_discount)
    new_balance = initial_balance - item_returned + frying_pan_discounted_price + towels_discounted_price
    result = new_balance
    return result 