Please explain how do i get the **Weights** of homework,quizzes and tests

# 6/9 need help with mathematics part of the problem

Hi @designace84849:

Please have a look at the function's code below and please let me know if you have any questions

```
def get_average(student):
homework = average(student["homework"]) * 0.1
quizzes = average(student["quizzes"]) * 0.3
tests = average(student["tests"]) * 0.6
total = homework + quizzes + tests
return total
```

Thanks for the reply

I am interested in knowing how you got the values **.01,0.3 and 0.6**

@designace84849 in the exercise they've mentioned the weight of each "item" so homework weight is 10% of the total grade so 10% = 10/100 = 0.1 and the same for 30% = 30/100 = 0.3 and 60% = 60/100 = 0.6

Hope that helps