Question: PYTHON CODE!!! Q: write a program that takes input from user by keyboard Make a program that (i) asks the user for a temperature in

PYTHON CODE!!!
Q: write a program that takes input from user by keyboard Make a program that (i) asks the user for a temperature in Fahrenheit degrees and reads the number; (ii) computes the correspodning temperature in Celsius degrees; andi) prints out the temperature in the Celsius scale. Name of program file: f2c qal.py Q2: take input from command line using sys.argv Make a program that reads a temperature in Fahrenheit degrees from command line using sys.argv approach; (ii) computes the correspodning temperature in Celsius degrees; andii) prints out the temperature in the Celsius scale. Name of program file: f2c_qa.py test your program by running it from terminal window: python f2c qa2.py 2 Q3:take input from command line using argparse Make a program that reads a temperature in Fahrenheit Degree or Celsius degree from command line using argpars correspondingly. The program should be able to run as below e module and convert to Celsius or Fahrenheit python tempconvert.py-f 100 this should read the temperature in Fahrenheit and the program should compute the corresponding temperature in Celsius degrees and print it out as: input: 100 degree(F) output: 37.77 degree(C) when you run the program as: python tempconvert.py-c 100 this should read the temperature in Celsius and the program should compute the corresponding temperature in Fahrenheit degrees and print it out as: input: 100 degree(C) output: 212 degree(F)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
