Conteúdo do Curso
Tipos de Dados em Python
Tipos de Dados em Python
Challenge: Time Calculation in Python
Tarefa
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
.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 6
Challenge: Time Calculation in Python
Tarefa
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
.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 6