Как использовать неопределенное количество ARG в Python
# use *args to allow user to input as many argumnets as they want
def mean(*args):
return sum(args)/len(args)
Inquisitive Ibis