![jennyhoang4330](/avatars/93.jpg)
jennyhoang4330
28.12.2020 •
Chemistry
What do we call a pure sample that's run next to the tested substance to see if it's a component in the mixture?
Solved
Show answers
More tips
- H Health and Medicine Liver Cleansing - Rejuvenation for the Body?...
- L Leisure and Entertainment Scrapbooking: What is it and Why is it Becoming More Popular?...
- H Horoscopes, Magic, Divination How to Cast a Love Spell on a Guy? Guide for Guys...
- F Family and Home How to Sew Curtain Tapes: Best Tips from Professionals...
- S Style and Beauty How are artificial nails removed?...
- S Style and Beauty How to Make Your Lips Fuller? Ideas and Tips for Beautiful Lips...
- F Food and Cooking The Disease That Haunted Abraham Lincoln...
- C Computers and Internet How to Get Rid of Windows Genuine Check?...
- H Health and Medicine How to perform artificial respiration?...
- S Style and Beauty Tricks and Tips: How to Get Rid of Freckles...
Answers on questions: Chemistry
- H Health Help please ? Why is health related fitness important to your overall health ?...
- B Biology Migration is a adaptation. a. structural b. functional c. natural d. behavioral...
- M Mathematics Order: add 125 mg of morphine sulfate to dw 250 ml stat. and infuse at 0.005? mg/kg/min. calculate the flow rate in milliliters per hour for the patient who weighs 95 kilograms....
- M Mathematics This is my final test quiz for math I need help...
- M Mathematics A square has the following vertices. Find the area of the square. (−7, −5), (−4, −2), (−4, −8), (−1, −5)6√ square units18√ square units6 square units18 square units...
Ответ:
def func1(x):
return (x-32)*(5/9)
def func2(x):
return (x/2.237)
def main():
x = ""
while x != "x":
choice = input("Enter 1 to convert Fahrenheit temperature to Celsius\n"
"Enter 2 to convert speed from miles per hour to meters per second: ")
if choice == "1":
temp = input("please enter temperature in farenheit: ")
print(func1(float(temp))," degrees celcius.")
elif choice == "2":
speed = input("please enter speed in miles per hour: ")
print(func2(float(speed))," meters per second")
else:
print("error... enter value again...")
x = input("enter x to exit, y to continue")
if __name__ == "__main__":
main()
Explanation:
two function are defines func1 for converting temperature from ferenheit to celcius and func2 to convert speed from miles per hour to meters per second.