Reference no: EM132382431
Question
You and your friends are in Kenya, where they use kilometers, taking part in a Walk For Cause. So, you want to know:
1. How many miles you walked, converted from kilometers (so your sponsor can donate that amount to the orphanage)?
2. What was your average pace per mile?
3. What was your average miles-per-hour?
Construct a python program that will figure this out for you, your friends and your sponsors. Your program should prompt the user for three inputs:
user_answer = input('How many kilometers did you walk? ')
kilometers_walked = float(user_answer)
user_answer = input('How many hours was your walk? ')
hours_walked = float(user_answer)
user_answer = input('How much is your sponsor paying per mile? ')
sponsor_money = float(user_answer)
Requirements:
? Prompt the user for the number of kilometers, hours, and sponsor amount -- in that order.
? Compute the total number of miles walked, rounded off to two decimal places
? Compute the minutes and seconds pace-per-mile
? Compute the average miles per hour, rounded off to two decimal places
? Compute the amount earned for the orphanage
? Report all of this information to the user
Find the time when the concentration will return back
: Suppose a reactor normally contains 12 units of dissolved oxygen in a fixed volume of water. Suppose at t=0(min) a quantity of organic waste is introduced.
|
ISY3001 e-Business Fundamentals and Systems Assignment
: ISY3001 e-Business Fundamentals and Systems Assignment Help and Solution - Australian Institute of Higher Education, Australia
|
EDEC102 Foundations of Early Childhood Class Assignment
: EDEC102 Foundations of Early Childhood Class Assignment help and solution, Excelsia College, Assessment help - How would this theory align with the precepts
|
Report the total number of pies you can make
: Prompt the user for the # of crust, meat, corn, and potatoes they have. Report the total number of pies you can make, and the leftover ingredients.
|
What was your average pace per mile
: You and your friends are in Kenya, where they use kilometers, taking part in a Walk For Cause. What was your average pace per mile?
|
EDEC101 Foundations of Teaching and Learning Class
: EDEC101 Foundations of Teaching and Learning Class Assignment help and solution, Excelsia College, Assessment help - creating a stimulating and caring classroom
|
Create a function that takes in a list of numbers
: An integer indicating the index of a local peak. If there is more than one peak in the given list, the index of any peak may be returned.
|
Determine the total inventory costs for lott
: Determine the total inventory costs for Lott considering the quantity discount.
|
Personal expenses on the company financial
: The chief executive officer (CEO) of ACME Manufacturing has decided to claim a portion of his personal expenses on the company's financial accounts.
|