Fill in the missing gaps. The user has been learning Python from different online sites during the year. You have the money the user spent on these sites. Find the total amount of money the user spent using the for a loop.
money_spent = [10, 5, 20, 5, 10, 15, 15]
total = 0
i in:
+= money_spent[i]
print(total)
80
クリックまたはドラッグ`n`ドロップして空欄を埋めてください