AlimusSifar

Add Them Up - Toph.co - Beginner

Mar 9th, 2020
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. tokens = input().split()
  2. sum = 0
  3. i = 0
  4. while i < len(tokens):
  5.     sum = sum + int(tokens[i])
  6.     i += 1
  7.  
  8. print(sum)
Add Comment
Please, Sign In to add comment