Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Time Calculation | Numbers
Data Types in Python

bookChallenge: Time Calculation

Task

Swipe to start coding

You have 10 support calls today. Each call takes 7 minutes on average, and you've scheduled 60 minutes.

  1. Compute how many minutes you are short to finish all calls today and save it to the shortfall_minutes variable.
  2. Compute the total duration in hours for all calls and save it to the total_hours variable.
  3. Compute how many calls you can finish completely within the available time and save it to the completed_calls variable.
  4. Compute how many minutes remain unused within the available time and save it to the unused_minutes variable.

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 4
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Suggested prompts:

Summarize this chapter

Explain the code in file

Explain why file doesn't solve the task

close

Awesome!

Completion rate improved to 5

bookChallenge: Time Calculation

Swipe to show menu

Task

Swipe to start coding

You have 10 support calls today. Each call takes 7 minutes on average, and you've scheduled 60 minutes.

  1. Compute how many minutes you are short to finish all calls today and save it to the shortfall_minutes variable.
  2. Compute the total duration in hours for all calls and save it to the total_hours variable.
  3. Compute how many calls you can finish completely within the available time and save it to the completed_calls variable.
  4. Compute how many minutes remain unused within the available time and save it to the unused_minutes variable.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

close

Awesome!

Completion rate improved to 5
SectionΒ 1. ChapterΒ 4
single

single

some-alt