Which question would you evaluate a text to determine its value to yourself?
Solved
Show answers
More tips
- H Health and Medicine When can it be said that a person has a normal pulse?...
- A Art and Culture When Will Eurovision 2011 Take Place?...
- S Style and Beauty How to Choose the Perfect Hair Straightener?...
- F Family and Home Why Having Pets at Home is Good for Your Health...
- H Health and Medicine How to perform artificial respiration?...
- H Health and Medicine 10 Tips for Avoiding Vitamin Deficiency...
- F Food and Cooking How to Properly Cook Buckwheat?...
- F Food and Cooking How Many Grams Are In a Tablespoon?...
- L Leisure and Entertainment Carving: History and Techniques for Creating Vegetable and Fruit Decorations...
- P Photography and Videography How to Choose the Perfect Photo Paper for Your Images?...
Answers on questions: English
- E English List ways the good angels (a) do service to the lord and (b) minister to the saints of god....
- E English excerpts from “of many and subjects” and “tara charan” in the poison tree: a tale of hindu life in bengal by bankim chandra chatterjee which statement best explains how culture...
- E English 2. describe the process the boys go through in creating & sustaining the fire in chapter 2. what might the fire symbolize?...
- E English How can you fix this run on question? how can a metal dog take the place of a furry one, you can’t hug a robot....
- E English Im needing help with writing my thesis statement that introduces my topic sentence and my 3 main ideas. My topic sentence is.. What to do if you find yourself in a cardiac...
- E English A dialogue between a baby horse and his mother...
- E English What factors lead to John s downfall? in the story A meeting in the dark...
- E English When writing dialogue, when should you start a new paragraph? A. Don’t start a new paragraph until all the dialogue is finished. B. When a new speaker starts talking. C....
- E English 1.3.5 Quir: Setting Question 2 of 5 Rosie s family had come through New York s Ellis Island in 1907 with such high hopes. They knew, of course, that the streets weren t really...
- E English Which details from Rip Van Winkle reflect characteristics of an American mythology? Select the two correct answers....
Ответ:
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.