Avsnitt 1. Kapitel 6
single
Challenge: Time Calculation in Python
Svep för att visa menyn
Uppgift
Svep för att börja koda
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.
- Calculate how many transactions you couldn't complete and assign the result to the variable
remaining_tasks. - Calculate how many minutes would be needed to complete all
10transactions if each takes7minutes, and assign the result to the variablerequired_time.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 6
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal