hi so im new to python basically im trying to get the average of the marks but it print 3 times is there any way to print the average in function and only once