Create a function from your temperature conversion code - Create a function that converts Fahrenheit to Celsius.
Question:
Create a function from your temperature conversion code -
Create a function that converts Fahrenheit to Celsius. You may adapt your code for the assignment "Convert Fahrenheit to Celsius"
Your function input should be a number expressing Fahrenheit degrees to convert.
Your function return value should be a a value expressing the input temperature after converting it to Celsius.
Run the function 5 times with different input values and output its return values to the console.
Below is my adopted "Convert Fahrenheit to Celsius" code that will be used for this practice assignment ^ above:
# AUTHOR: Stanley Williams
# DATE: September 5, 2023
#PURPOSE: Fulfill the assignment "Convert Fahrenheit to Celcius"
F=int(input("Input a temperature in Fahrenheit:"))
C=(F-32)*5/9
print("Temperature in celcius is",C)