Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge | Introduction to Python 2/2
Introduction to Python for Data Analysis
course content

Зміст курсу

Introduction to Python for Data Analysis

Introduction to Python for Data Analysis

1. Introduction to Python 1/2
2. Introduction to Python 2/2
3. Explore Dataset
4. Becoming an Analyst

Challenge

question-icon

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

Натисніть або перетягніть елементи та заповніть пропуски

Все було зрозуміло?

Секція 2. Розділ 7
We're sorry to hear that something went wrong. What happened?
some-alt