```
# total number you want to enter
n = int(input('How many numbers: '))
# denotes total sum of n numbers
total_sum = 0
for i in range (n):
# take inputs
num = float(input('Enter number: '))
# calculate total sum of numbers
total_sum += num
# print sum of numbers
print('The sum of numbers = %0.2f' %total_sum)
```

Python Program to Find Sum of given N Numbers by the user

## 0 Comments

Add Comment

Log in to add a comment