Task 6 of 7 · 0 solved · 7 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

(Optional) 6.4 Writing files — build a report

Total: 0 / 3 pts
Practice mode — check each part and get hints as you go.
Task

Fill in toReport so that it returns the whole report as one string: one name,score row per line, each ending with a newline.

The program prints two lines: Ada,90 and Sam,55.

Your solution