text: def hey(phrase):
      stripped = phrase.strip()
      if not stripped:
          return 'Fine. Be that way!'
      elif stripped.isupper():
          return 'Whoa, chill out!'
      elif stripped.endswith('?'):
          return 'Sure.'
      else:
          return 'Whatever.'
  