Task Write a program that reads values from data.csv and pri…
Task Write a program that reads values from data.csv and prints summary information. Import the csv module Open the file and use csv.reader() to read each row. Convert the second value in each row to a float. Print the following summary statistics: Count: Total: Average: where Count is the total number of values (hint: use len()), Total is the sum of the values (hint: use sum()), and Average is the average of the values, or Total / Count. File Contents (data.csv) A,10 B,20 C,30 D,40 Expected Output Count: 4 Total: 100.0 Average: 25.0