Advertisement
BbJLeB

03. Sum Numbers

May 20th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. # 03. Sum Numbers
  2.  
  3. n = int(input())
  4. total = 0
  5. for num in range(n):
  6.     current_num = int(input())
  7.     total += current_num
  8. print(total)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement