Utfordring: Tidsberegning i Python
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 6
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Suggested prompts:
Can you explain this in simpler terms?
What are the main takeaways from this?
Can you give me a real-world example?
Fantastisk!
Completion rate forbedret til 3.45
Utfordring: Tidsberegning i Python
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 6
single