Udfordring: Tidsberegning i Python
Opgave
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.
- 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 alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 6
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Fantastisk!
Completion rate forbedret til 3.45
Udfordring: Tidsberegning i Python
Stryg for at vise menuen
Opgave
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.
- 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 alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 6
single