Advertisement
Spocoman

07. Sum Numbers

Dec 23rd, 2021 (edited)
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. num = int(input())
  2. sum = 0
  3.  
  4. for i in range(num):
  5.     sum += int(input())
  6.    
  7. print(sum)
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement