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

Using your Periodic Table, which element below has the smallest atomic radius? A.) Sodium, B.) Chlorine, C.) Phosphorus, D.) Iron
định khoản nghiệp vụ sau : tạm ứng cho nhân viên A đi công tác bằng tiền mặt 50.000
A 2kg ball is rolled along the floor for 0.8 m at a constant speed of 6 m/s. What is the work done by gravity? A, 0 B, 16 J C, 72 J D, 450 J E, 90 J
look at image above question and answers​
Question 3 of 10 Friends, family members, role models, and society are all examples of that can affect your decisions about drugs. A. private influences B. inte
Prompt: Write an informative essay about a character from ancient Greek mythology. Summarize the plot of the myth and explain the cultural significance of the m
Proof that :[tex] {sin}^{2} \theta + {cos}^{2} \:\theta= 1[/tex]Thx.​
find area and perimeter of shaded area and the perimeter is not 96
simplify the radical expressions pleaseeeeee help I haven’t done algebra in 2 years
4. What does it mean if someone has a predisposition for asthma? O That person has a natural Immunity to asthma and will not develop it. O That person is guaran