Answer:
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.
Answer:
The bird's-eye view that satellites have allows them to see large areas of Earth at one time. This ability means satellites can collect more data, more quickly, than instruments on the ground.
Explanation:
In Nathan's scenario in which his system is running low on storage space he should consider adding a hard drive to his personal computer. A hard drive is the hardware device, a secondary storage device that increases the system's storage space.
Adding a new hard drive to a desktop PC is really simple. Nathan should only put the new hard drive in the empty 3.5-inch drive bays. The hard drive permanently stores and retrieves data on a computer.