Зміст курсу
Типи даних у Python
Типи даних у Python
Challenge: Time Calculation in Python
Завдання
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
.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 6
Challenge: Time Calculation in Python
Завдання
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
.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 6