Answer to Question #7514 in Python for farah

Question #7514
Running on a particular treadmill you burn 3.9 calories per minute..Design a program that uses a loop to display the number of calories burned after 10,15,20,25,30 minutes?
1
Expert's answer
2012-03-20T11:24:05-0400
print "Number of calories burned after N minutes:"
print
print
"Minutes Calories"
print "--------------------"

for i in
range(10,30,5):
print " ", i, " ", i*3.9

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS