Зміст курсу
Типи даних у Python
Типи даних у Python
Challenge: Time Calculation
Завдання
Swipe to begin your solution
The task description remains unchanged. I will recap it for your reference and introduce two additional questions.
Imagine that you are a school student and have to solve 10
math tasks. You have noticed that the average time to deal with the task is 7
minutes; however, you have 60
minutes.
- Calculate how many tasks you did not complete and assign the result to the variable
remaining_tasks
. - Calculate how many minutes you would need to complete
10
tasks if you were to spend7
minutes on each of them, and assign the result to the variablerequired_time
.
Рішення
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 6
Challenge: Time Calculation
Завдання
Swipe to begin your solution
The task description remains unchanged. I will recap it for your reference and introduce two additional questions.
Imagine that you are a school student and have to solve 10
math tasks. You have noticed that the average time to deal with the task is 7
minutes; however, you have 60
minutes.
- Calculate how many tasks you did not complete and assign the result to the variable
remaining_tasks
. - Calculate how many minutes you would need to complete
10
tasks if you were to spend7
minutes on each of them, and assign the result to the variablerequired_time
.
Рішення
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 6
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів