Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Time Calculation in Python | Getting Familiar With Numbers in Python
Data Types in Python
course content

Kurssisisältö

Data Types in Python

Data Types in Python

1. Getting Familiar With Numbers in Python
2. Mastering Boolean Logic in Python
3. Python String Manipulation
4. Bring All the Topics Together

book
Challenge: Time Calculation in Python

Tehtävä

Swipe to start coding

Imagine you are a bookkeeper, and you need to process 10 financial transactions. You've noticed that each transaction takes an average of 7 minutes, but you only have 60 minutes available.

  1. Calculate how many transactions you couldn't complete and assign the result to the variable remaining_tasks.
  2. Calculate how many minutes would be needed to complete all 10 transactions if each takes 7 minutes, and assign the result to the variable required_time.

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 6
toggle bottom row

book
Challenge: Time Calculation in Python

Tehtävä

Swipe to start coding

Imagine you are a bookkeeper, and you need to process 10 financial transactions. You've noticed that each transaction takes an average of 7 minutes, but you only have 60 minutes available.

  1. Calculate how many transactions you couldn't complete and assign the result to the variable remaining_tasks.
  2. Calculate how many minutes would be needed to complete all 10 transactions if each takes 7 minutes, and assign the result to the variable required_time.

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 6
Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt