Line totals

lines is a list of (item, quantity, price) tuples. Write line_totals(lines) that returns a list of the total for each line.

line_totals([("bread", 3, 25), ("milk", 2, 2.5)])  ->  [75, 5.0]
def line_totals(lines):
    ...