I don't understand the error here.
There's no return statement in your average function. Also, make sure you call the function you want to call underneath defining them.
Hi your number instead of .60 , .30, .10 try it like that
0.1, 0.6, 0.3