A hospital stores in a list of lists the count of diagnoses made each week. Each diagnosis is stored in a list along with the number of the week and the number of cases.
Design a function @stats_diag(ldiags)@ which, given a list @ldiags@ with the diagnoses of one trimester (12 weeks), returns a dictionary that associates each diagnosis with the list of the number of cases that have occurred in the 12 weeks of the trimester.
Author: InfBesos
Generation: 2026-01-25T19:17:57.445Z
© Jutge.org, 2006–2026.
https://jutge.org