0

The provided code stub will read in a dictionary containing key/value pairs of name:[marks] for a list of students. Print the average of the marks array for the student name provided, showing 2 places after the decimal.

I tried to find the average of the marks array for the student name provided, but after finding the average I could not limit it up to 2 decimal places.

  • 2
    Does this answer your question? [Limiting floats to two decimal points](https://stackoverflow.com/questions/455612/limiting-floats-to-two-decimal-points) –  Dec 11 '22 at 08:16

0 Answers0