Challenge: Time Calculation
Task
Swipe to start coding
You have 8 video calls scheduled today. Each call takes 9 minutes, and you only have 60 minutes available.
- Calculate how many total minutes you need for all calls and save it to
total_minutes. - Find how many minutes you are short and save it to
shortfall. - Calculate how many calls you can complete in the available time and save it to
completed_calls. - Find how many minutes will remain unused after completing full calls and save it to
unused_time. - Print all results using clear messages.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 4
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Suggested prompts:
Can you explain the difference between / and // in more detail?
What does "unary" mean in the context of + and - operators?
Can you give more examples of how these operators are used in Python?
Awesome!
Completion rate improved to 3.45
Challenge: Time Calculation
Swipe to show menu
Task
Swipe to start coding
You have 8 video calls scheduled today. Each call takes 9 minutes, and you only have 60 minutes available.
- Calculate how many total minutes you need for all calls and save it to
total_minutes. - Find how many minutes you are short and save it to
shortfall. - Calculate how many calls you can complete in the available time and save it to
completed_calls. - Find how many minutes will remain unused after completing full calls and save it to
unused_time. - Print all results using clear messages.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 4
single