Functions: Write a function named temp_convert that takes two arguments. The first argument is a string C or F and the secon

def fahrenheit_to_celsius(F):
result=(5/9)*(F-32)
return result

AND

def celsius_to_fahrenheit(C):
result=((9/5)*C) + 32
return result

Functions: Write a function named temp_convert that takes two arguments. The first argument is a string C” or F and the second argument is a number (an integer or a float). If the first argument is a ‘C’ then return the centigrade equivalent of the input number. If the first argument is an ‘F’ then return the fahrenheit equivalent of the input number. If the input string is neither C’ nor F” then return None. To do the requested conversion, use the fahrenheit_to_celsius and celsius_to_fahrenheit functions that have been written by you in the Problem Set 2 Homeworks. Show transcribed image text