mickeyyyy7776 mickeyyyy7776
  • 22-10-2020
  • Computers and Technology
contestada

Running on a particular treadmill you burn 3.9 calories per minute. Write a program that uses a loop to display the number of calories burned after 10, 15, 20, 25, and 30 minutes.

Respuesta :

Cytokine
Cytokine Cytokine
  • 22-10-2020

In python:

i = 10

while i <= 30:

    print(f"{i * 3.9} calories burned after {i} minutes")

    i += 5

I hope this helps!

Answer Link

Otras preguntas

Halons and CFC's both a. inhibit ozone formation b. cause ozone formation in the troposphere c. destroy ozone in the stratosphere d, cause excess ozone formatio
name the type of subunits that form starch
Arrange these numbers from least to greatest:
what is 6 3/5% as a decimal
Arrange these numbers from least to greatest:
what is the fraction represented by 0.1 repeated
Which statement best explains why, during the 1800s, manufacturers resisted workers’ demands for higher wages and safer workplaces?
What is 2 1/3 + 1 2/3?
cyanobacteria have been engineered to produce isobutanol directly. what advantage does this have over other alternative biofuels?
Ms. Davenport bought a dozen packages of spaghetti sauce mix priced at 3 packages for $1.29. What is the price of one package of spaghetti sauce mix?