 
 <prompt> David yana da $12.48 kuma so ya sami 16 bolts daga wani bin a cibiyar kayan abinci. Kowace bolt ya kudin $0.3333333333333333. Me yasa David zai sami kuɗi bayan ya sayar da bolts? Don Allah, amfani da python! <response>: def solution():
    """David has $12.48 and wants to buy 16 bolts from a bin at the hardware store. Each bolt costs $0.03. How much money does David have left after paying for the bolts?"""
    money_initial = 12.48
    num_bolts = 16
    bolt_cost = 1/3
    money_spent = num_bolts * bolt_cost
    money_left = money_initial - money_spent
    result = money_left
    return result 