Only For Bhawikjain" Python 2

profileReg333ina

 

Write a 2-part program as follows: ( put all the code in one script file) 

  • Part 1: Write a function to convert Celsius to Fahrenheit.
  • Part 2: Write a function to convert Fahrenheit to Celsius.

Both of the functions (Celsius to Fahrenheit and Fahrenheit to Celsius) are the exact inverses of one another.

Test the program by converting 32 degrees Fahrenheit to Celsius and then the product of that function back to Fahrenheit.

Test the program using other values as well, try to store the values in a Python List ( a data structure that holds more values than a single variable - similar to an array in other languages)

Copy and paste your code into a document and include screen shots of your test executions.  Show that the temperatures convert both ways correctly.

    • 7 years ago
    • 8
    Answer(3)

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      Order1018216.docx

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      py-temperature.zip

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      TemperatureConversion.docx