how to make the inputs become a sum python

Solutions on MaxInterview for how to make the inputs become a sum python by the best coders in the world

showing results for - "how to make the inputs become a sum python"
Mia
03 Feb 2018
1>>> print('The result is: {}'.format(sum(map(int, raw_input('Enter numbers: ').split(',')))))
2Enter numbers: 5,6,7,8,9,10
3The result is: 45
4
similar questions
queries leading to this page
how to make the inputs become a sum python