code: def first_sense(ambiguous_word: str, pos: str = None) -> "wn.Synset":
      
  
      if pos is None:
          return wn.synsets(ambiguous_word)[0]
      else:
          return wn.synsets(ambiguous_word, pos)[0]
docs: Returns the first sense.
  
      :param ambiguous_word: String, a single word.
      :param pos: String, one of 'a', 'r', 's', 'n', 'v', or None.
      :return: The first Synset in the wn.synsets(word) list.