Question: BlockPy: #35.1) Sum String The code below is meant to sum a list of comma-separated numbers in a string. Fix the code below so that

BlockPy: #35.1) Sum String The code below is meant to sum a list of comma-separated numbers in a string. Fix the code below so that it will correctly sum and print the values. ServerSaved Execution: Ready Feedback Ready Console Run Blocks - SplitText ResetUpload Z History 1 scores"44, 34,27,43, 22,25" total_score for a_score in total score.split("," total_score-int(a_score) 5 print(total_score)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
