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

What is the name of the reaction when you split a disaccharide?
The Constitution delegates some powers to the national government and others to the states. Which is this division of powers called?
Which statement describes the polygon? A. The polygon is equilateral but not equiangular. B. The polygon is equiangular but not equilateral. C. The polygon
What is 85% of 420?
What is the perimeter of the figure? A.20 m B.21 m C.26 m D.27 m
what is 259809 rounded to nearest ten thousand
Name the five transport mechanisms of the cell:
how can someone remember the slope formula
To walk fearfully? I need a few words that mean that.
8 kilometers, sprinted 500 meters, and climbed bleachers for a distance of 1.5 kilometers during track practice. How many meters, in total, did he travel during