from functools import reduce def product(*args): return reduce(lambda x, y: x*y, args)
Sign in to make a reply
Nicholas-Stone