code: def transliterate(table, text):
      
      if table == 'sr-Latn':
          return text.translate(SR_LATN_TABLE)
      elif table == 'az-Latn':
          return text.translate(AZ_LATN_TABLE)
      else:
          raise ValueError("Unknown transliteration table: {!r}".format(table))
docs: Transliterate text according to one of the tables above.
  
      `table` chooses the table. It looks like a language code but comes from a
      very restricted set:
  
      - 'sr-Latn' means to convert Serbian, which may be in Cyrillic, into the
        Latin alphabet.
      - 'az-Latn' means the same for Azerbaijani Cyrillic to Latn.