CSV File Handling (Data Aggregation) Scenario: You have a CSV file sales.csv…
CSV File Handling (Data Aggregation)
Scenario: You have a CSV file sales.csv with columns: Item_Name, Quantity, Price_Per_Unit. Write a python program to calculate and print the Total Revenue (Sum of Quantity * Price_Per_Unit) for all items in the file.
Sample Data:
Apple, 10, 50
Mango, 5, 100
Attempted by 15 students.
Sign up free to check your answer
Sign up freeLoading lesson…

