Given a few numbers. Calculate their sum. First enter the number of numbers N. Then exactly N integers are entered.
What is the smallest number of variables needed to solve this problem?
i=int(input()) a=i*int(input()) z=0 for i in range(a,a-1): z+=a print(z) 