input: Write a function to convert degrees Fahrenheit to degrees Celsius. If the input temperature is a valid number, the function should return the temperature in degrees Celsius. If the input is not a valid number, the function should return "Invalid input".
  def FahrenheitToCelsius(temp_fahrenheit):
      try:
          temp_fahrenheit = float(temp_fahrenheit)
          temp_celsius = (temp_fahrenheit - 32) * 5/9
      except ValueError:
          return "Invalid input"
      return temp_celsius
  
  assert FahrenheitToCelsius(32)==0.0
  assert FahrenheitToCelsius(212)==100.0
  assert FahrenheitToCelsius("32")==0.0
  assert FahrenheitToCelsius("abc")=="Invalid input"
  assert FahrenheitToCelsius(-40)==-40.0
output: def FahrenheitToCelsius(temp_fahrenheit):
      try:
          temp_fahrenheit = float(temp_fahrenheit)
          temp_celsius = (temp_fahrenheit - 32) * 5/9
      except ValueError:
          return "Invalid input"
      return temp_celsius