grocery_receipt = [('bread', 1.99), ('water', 0.75), ('chips', 3.49), (
    'apples', 0.95)]
total = 0
for item in grocery_receipt:
    print(item[0])
    total += item[1]
total = '{:.2f}'.format(total)
print(f'${total}')

d1fff63e0b05efcb67c6524a5d4bf7c61505e679
<mask token>

<mask token>
for item in grocery_receipt:
    print(item[0])
    total += item[1]
<mask token>
print(f'${total}')

grocery_receipt = [('bread', 1.99), ('water', 0.75), ('chips', 3.49), (
    'apples', 0.95)]
total = 0
for item in grocery_receipt:
    print(item[0])
    total += item[1]
total = '{:.2f}'.format(total)
print(f'${total}')
