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

A number has eight digits. All of them are 8 except the ten-thousands digit, which is 3 the units' digit, which is 7, and the millions' digit, which is 6. What
equal setQ6. State which of the following number are divisible by 11?a. 15,315 b. 769,494 c. 38,533​
For what two reason do countries specialize?
Question 7 #7) What value of m makes the equation true? 3(8 – m) = 5m – 40
Please help me with this. Picture
How can the US become more United and less divided?
Since only 2 of the 50 states are not connected to the mainland, what percentage of the states ARE on the mainland?
Leslie used 20% of a half-gallon (64 ounces) of milk for a recipe. How many ounces of milk were left?
John and his family went out to eat at their favorite restaurant. The bill for the food was $65.00, and they a left 20% tip for the server. What was the total
In this time of pandemic how importan is food storing to you