-module(shopping). -export([shopping/1]). shopping(List) -> [{Item, Quant*Price} || {Item, Quant, Price} <- List].