Python - Structured Data Files
Given a CSV file with columns
product,price,quantity, which code snippet correctly creates a dictionary mapping each product to its total value (price multiplied by quantity) using csv.DictReader?