code: def did_you_mean(message: str, user_input: str, choices: Sequence[str]) -> str:
      
      if not choices:
          return message
      else:
          result = {
              difflib.SequenceMatcher(a=user_input, b=choice).ratio(): choice
              for choice in choices
          }
          message += "\nDid you mean: %s?" % result[max(result)]
          return message
docs: Given a list of choices and an invalid user input, display the closest
      items in the list that match the input.