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

bookChallenge: Time Calculation

Uppgift

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.

Lösning

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 4
single

single

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

Suggested prompts:

Sammanfatta detta kapitel

Explain code

Explain why doesn't solve task

close

Awesome!

Completion rate improved to 5

bookChallenge: Time Calculation

Svep för att visa menyn

Uppgift

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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

close

Awesome!

Completion rate improved to 5
Avsnitt 1. Kapitel 4
single

single

some-alt