Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = int(input())
- sum = 0
- for i in range(0, n):
- num = int(input())
- sum +=num
- print(f"sum = {sum}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement