Is there a way to build a list of the arguments to python function to use it inside the function? For example:
def sum_of_middle_three(score1,score2,score3,score4,score5):
"""
Find the sum of the middle three numbers out of the five given.
"""
sum = (score1+score2+score3+score4+score5)
return sum
How to refer to the input argument list in the function, if possible this gives possibility to call that function by variable argument list