I can multiply 2 numbers without the multiplication operator with the below code:
sum(2 for i in range(5))
However, I would like to know if there's any simple way to do it for n numbers with a function call like the below:
multi(1, 2, 3, 4, 5... n)
What it's in my mind is a function that takes args 1 and 2, then does the sum(arg1 for i in range(arg2) and then does that for the remainder (arg3, arg4...)