The hardest to understand in college X73449


Statement
 

pdf   zip

html

Input The input will be the list of the 10 grades corresponding to the subjects.

Output In this case, the first subject has been compensated with +0.5, and the last one reduced -0.4 (do not forget to consider the different number of credits weight) The weighted average has not changed in this case.

Public test cases
  • Input

    4.5
    5
    5
    5
    5
    5
    5
    5
    5
    5.4
    

    Output

    5
    5
    5
    5
    5
    5
    5
    5
    5
    5
    PASS
    
  • Information
    Author
    HP CodeWars
    Language
    English
    Official solutions
    Python
    User solutions
    Python