Bryce H.

asked • 02/01/23

How to get a list of str and turn them to ints to add

Use the string.split method create a list of numbers from the following string and then sum up the numbers. Print the sum to the screen.

'90,67,87,102,77,80'


1 Expert Answer

By:

Brandon C. answered • 02/02/23

Tutor
5 (12)

Senior Software Engineer with University Computer Science Background

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.