Question: I am in heed of help in this python program, the program is supposed to read a string that has numbers and are separated by
I am in heed of help in this python program, the program is supposed to read a string that has numbers and are separated by commas. The goal is for it to turn the string into integers and add the sum of the total. and return the value. Here is what I have so far.

def sum_csv_string(csv_string): sum_of_list-0 sum_list- for char in range len(csv string)): if char- ',": sum_list.append csv_string[char]) for i in sum list: sum_of_list i return sum_of_list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
