Skip to main content
Read a CSV of grades with csv.reader(), work out each student’s average, and write a summary CSV with csv.writer(). Open Lab 33 in the IP Lab Portal

What you will practice

  • Read rows with csv.reader()
  • Convert and summarize values
  • Write results with csv.writer()

Before you start

Time

25 minutes

Where

IP Lab Portal

Module

Module 13: File handling

  • In the IP Lab Portal, open Lab 33 - Grades CSV report.
  • In class, this lab comes right after the Lesson 5 recap slide in Module 13 core material.