結果 : average of three numbers in python using function