Question: N = int(sys.argv[1]) # Your code goes here total = N for ctr in range(N, N +1): total = total + ctr print(str(total))
N = int(sys.argv[1])
# Your code goes here total = N
for ctr in range(N, N +1): total = total + ctr print(str(total))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
