Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Time Calculation in Python | Section
Working with Numbers in Python: Integers, Floats, and Type Conversion - 1769704232138
Abschnitt 1. Kapitel 6
single

single

Challenge: Time Calculation in Python

Swipe um das Menü anzuzeigen

Aufgabe

Wischen, um mit dem Codieren zu beginnen

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.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 6
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

some-alt