Computer Science, asked by dhilshas000, 4 months ago

write a program to calculate sum of the lists of numbers accepted from the user (4 marks exam) ​

Answers

Answered by valeriy69
1

\large\mathsf\color{pink}{Solution\: using\: python\: 3}

sum_nums = sum([int(n) for n in input("enter nums: ").split()])

print(sum_nums)

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Answered by aminis2
0
Ok hellooooo but what
Similar questions