Contenuti del Corso
Data Types in Python
Data Types in Python
4. Bring All the Topics Together
Challenge: Time Calculation in Python
Compito
Swipe to start coding
Imagine you are a bookkeeper, and you need to process 10
financial transactions. You've noticed that each transaction takes an average of 7
minutes, but you only have 60
minutes available.
- Calculate how many transactions you couldn't complete and assign the result to the variable
remaining_tasks
. - Calculate how many minutes would be needed to complete all
10
transactions if each takes7
minutes, and assign the result to the variablerequired_time
.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 6
Challenge: Time Calculation in Python
Compito
Swipe to start coding
Imagine you are a bookkeeper, and you need to process 10
financial transactions. You've noticed that each transaction takes an average of 7
minutes, but you only have 60
minutes available.
- Calculate how many transactions you couldn't complete and assign the result to the variable
remaining_tasks
. - Calculate how many minutes would be needed to complete all
10
transactions if each takes7
minutes, and assign the result to the variablerequired_time
.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 6