"Sum of ten numbers: 10 numbers are given in the input. Read them and print their sum. Use as few variables as you can. " - Snackify python coding question
on
Get link
Facebook
Twitter
Pinterest
Email
Other Apps
CODING QUESTION
10 numbers are given in the input. Read them and print their sum. Use as few variables as you can.
SOLUTION
sum=0 for i in range(10): sum+=int(input()) print(sum)