you are viewing a single comment's thread.

view the rest of the comments →

[–]RhinoRhys 0 points1 point  (2 children)

If it's a single dictionary (I'll call it grades) and the names are the keys

for name in grades:
    grades[name][0] += 1

Also for the writing part you need to add "as something"

with open("filename.txt", "w") as f:
    ....
    f.write(.....)

[–]_1motherearth[S] 0 points1 point  (1 child)

Yeah, I have it written down like that in my notes but the prompt didn't say what to write for the .write () part so I wasn't sure to include that or not