input: Write a function to convert degrees Fahrenheit to degrees Celsius. Given a temperature in Fahrenheit, the function should return the equivalent temperature in Celsius. If the input is invalid, return None.
  def FahrenheitToCelsius(temp_fahrenheit):
      if isinstance(temp_fahrenheit, (int, float)):
          temp_celsius = (temp_fahrenheit - 32) * 5/9
          return temp_celsius
      else:
          return None
  
  assert FahrenheitToCelsius(32) == 0
  assert FahrenheitToCelsius(212) == 100
  assert FahrenheitToCelsius(98.6) == 37
  assert FahrenheitToCelsius(-40) == -40
  assert FahrenheitToCelsius("invalid") == None
output: def FahrenheitToCelsius(temp_fahrenheit):
      if isinstance(temp_fahrenheit, (int, float)):
          temp_celsius = (temp_fahrenheit - 32) * 5/9
          return temp_celsius
      else:
          return None