Gaining Proficiency Instructions Instructions Python HW 4 Convert Fahrenheit to Celsius Homework Description: You are making a Fahrenheit to Celsius converter. Write a program with a function, pass...

1 answer below »
You will make a Fahrenheit to Celsius converter, write a program with a Function, pass the value inputted by the user to take the Fahrenheit value as an argument and Return the corresponding Celsius value. The program should Call the function three (3) times and output three (3) different values.





Gaining Proficiency Instructions Instructions Python HW 4 Convert Fahrenheit to Celsius Homework Description: You are making a Fahrenheit to Celsius converter. Write a program with a function, pass the value inputted by the user to take the Fahrenheit value as an argument and return the corresponding Celsius value. The program should call the function 3 times and output 3 different values. Needed for this assignment: Google Colab (GC) Instructions To be submitted for this assignment: Your python file, named LastNameFirstInitialPythonHW4ConvertTemp.py A screen shot of your output file, saved as LastNameFirstInitialPythonHW4ConvertTempOutput.jpg Instructions: The following table shows the steps you will need to follow and the rubric that your instructor will use to grade your assignment: StepInstructionsPoints Possible 1Open up your Python editor and create a file named LastNameFirstInitialPythonHW4ConvertTemp.py10 2First line of code should have a comment of your name and the CRN of your class.5 3Create a function called convertTemp(), this function will have a parameter, called temp 5 4 · Outside the function, create a variable that will store the value the user inputted. This input variable should be a value in Fahrenheit. 5 5 Call the function with the temperature as the parameter 10 6 Inside the function, you are to convert the value passed into the function via the parameter into Celsius. The temp variable should represent the temperature you inputted in step 4. The formula to convert Fahrenheit temperature to Celsius is: (F-32)*5/9 20 7 Output in the form of a print statement, the original temperature and the result of the convert temperature in a sentence form 10 8 · Repeat steps 4, 5, 6, & 7 two more times, for a total of 3 different temperatures, with 3 different variables 10 9 · Run and fix your code for any errors. 10 10 · Create a screen shot of your output and name the output as LastNameFirstInitialPythonHW4ConvertTempOutput.jpg. 10 11 · Save your file and submit, both the output and the code. 5 100 Python Homework Instructions.docx
Answered Same DayApr 27, 2021

Answer To: Gaining Proficiency Instructions Instructions Python HW 4 Convert Fahrenheit to Celsius Homework...

Yogesh answered on Apr 28 2021
140 Votes
#Your Name
#CRN number
def convertTemp(temp):
    c_temp = ((temp-32)*5)/9
    print("Temprature in Fa
hrenheit : " + str(temp) + "°F")
    print("Temperature in Celcius : " + str(c_temp) + "°C\n")
try:
    f_temp1 = float(input("Enter Temprature in Fahrenheit : "))
    convertTemp(f_temp1)
except...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here