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

bookChallenge

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

Click or drag`n`drop items and fill in the blanks

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 7

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Awesome!

Completion rate improved to 2.08

bookChallenge

Stryg for at vise menuen

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

Click or drag`n`drop items and fill in the blanks

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 7
some-alt