Final grade

Design a function @nota_final(d_notes, d_proves)@ which, given a dictionary @d_proves@ that associates exams of a subject with their weighting in the final note, and another dictionary @d_notes@ that associates each partial taken by a student with the grade obtained, returns the final grade obtained by the student rounded to 2 decimals and a dictionary that associates the tests the student hasn’t taken with the value ’NP’.

Sample session

Problem information

Author: InfBesos

Generation: 2026-01-25T19:31:54.378Z

© Jutge.org, 2006–2026.
https://jutge.org