Write a function @grade(s)@ that given a float score such that returns the grade string that corresponds to . The result of the function has to stick to the catalan grading rules: when is less than the grade is ’suspens’, when is at least but less than the grade is ’aprovat’, when is at least but less than is ’notable’, when is at least but less than is ’excel.lent’ —note that the dot is the usual one— and finally, if is the grade is ’MH’.
>>> grade(4.99) 'suspens' >>> grade(8) 'notable' >>> grade(6.99) 'aprovat' >>> grade(9.5) 'excel.lent' >>> grade(10) 'MH'