... args kwargs: numbers


The function that can handle many numbers is shown below.

def multiply(*numbers):
    result = 1
    for n in numbers:
        result = result * n
    return result

Feedback? See an issue? Something unclear? Feel free to mention it here.

If you want to be kept up to date, consider signing up for the newsletter.