Python-oefening

Sum String

Meld je aan om je oplossing in te dienen en feedback te krijgen.

scores = "44,34,27,43,22,25" total_score = 0 for a_score in total_score.split(","): total_score = int(a_score) print(total_score)