Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Haaste: Ajan Laskeminen | Numerot
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Tietotyypit Pythonissa

bookHaaste: Ajan Laskeminen

Tehtävä

Swipe to start coding

You have 8 video calls scheduled today. Each call takes 9 minutes, and you only have 60 minutes available.

  1. Calculate how many total minutes you need for all calls and save it to total_minutes.
  2. Find how many minutes you are short and save it to shortfall.
  3. Calculate how many calls you can complete in the available time and save it to completed_calls.
  4. Find how many minutes will remain unused after completing full calls and save it to unused_time.
  5. Print all results using clear messages.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 4
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

close

bookHaaste: Ajan Laskeminen

Pyyhkäise näyttääksesi valikon

Tehtävä

Swipe to start coding

You have 8 video calls scheduled today. Each call takes 9 minutes, and you only have 60 minutes available.

  1. Calculate how many total minutes you need for all calls and save it to total_minutes.
  2. Find how many minutes you are short and save it to shortfall.
  3. Calculate how many calls you can complete in the available time and save it to completed_calls.
  4. Find how many minutes will remain unused after completing full calls and save it to unused_time.
  5. Print all results using clear messages.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 4
single

single

some-alt