




"""simple docstring"""



SCREAMING_SNAKE_CASE       = {
    "A": ("ABCDEFGHIJKLM", "NOPQRSTUVWXYZ"),
    "B": ("ABCDEFGHIJKLM", "NOPQRSTUVWXYZ"),
    "C": ("ABCDEFGHIJKLM", "ZNOPQRSTUVWXY"),
    "D": ("ABCDEFGHIJKLM", "ZNOPQRSTUVWXY"),
    "E": ("ABCDEFGHIJKLM", "YZNOPQRSTUVWX"),
    "F": ("ABCDEFGHIJKLM", "YZNOPQRSTUVWX"),
    "G": ("ABCDEFGHIJKLM", "XYZNOPQRSTUVW"),
    "H": ("ABCDEFGHIJKLM", "XYZNOPQRSTUVW"),
    "I": ("ABCDEFGHIJKLM", "WXYZNOPQRSTUV"),
    "J": ("ABCDEFGHIJKLM", "WXYZNOPQRSTUV"),
    "K": ("ABCDEFGHIJKLM", "VWXYZNOPQRSTU"),
    "L": ("ABCDEFGHIJKLM", "VWXYZNOPQRSTU"),
    "M": ("ABCDEFGHIJKLM", "UVWXYZNOPQRST"),
    "N": ("ABCDEFGHIJKLM", "UVWXYZNOPQRST"),
    "O": ("ABCDEFGHIJKLM", "TUVWXYZNOPQRS"),
    "P": ("ABCDEFGHIJKLM", "TUVWXYZNOPQRS"),
    "Q": ("ABCDEFGHIJKLM", "STUVWXYZNOPQR"),
    "R": ("ABCDEFGHIJKLM", "STUVWXYZNOPQR"),
    "S": ("ABCDEFGHIJKLM", "RSTUVWXYZNOPQ"),
    "T": ("ABCDEFGHIJKLM", "RSTUVWXYZNOPQ"),
    "U": ("ABCDEFGHIJKLM", "QRSTUVWXYZNOP"),
    "V": ("ABCDEFGHIJKLM", "QRSTUVWXYZNOP"),
    "W": ("ABCDEFGHIJKLM", "PQRSTUVWXYZNO"),
    "X": ("ABCDEFGHIJKLM", "PQRSTUVWXYZNO"),
    "Y": ("ABCDEFGHIJKLM", "OPQRSTUVWXYZN"),
    "Z": ("ABCDEFGHIJKLM", "OPQRSTUVWXYZN"),
}







def 						_SCREAMING_SNAKE_CASE     (							lowercase_		)		->	list[tuple[str, str]]:
 return [alphabet[char] for char in key.upper()]







def 						_SCREAMING_SNAKE_CASE     (							lowercase_    ,				lowercase_		)		->	str:
 A__ =       ""
 A__ =       0
 A__ =       generate_table(lowercase_		)
 for char in words.upper():
  cipher += get_opponent(table[count]    ,				lowercase_		)
  A__ =       (count + 1) % len(lowercase_		)
 return cipher







def 						_SCREAMING_SNAKE_CASE     (							lowercase_    ,				lowercase_		)		->	str:
 return encrypt(lowercase_    ,				lowercase_		)







def 						_SCREAMING_SNAKE_CASE     (							lowercase_    ,				lowercase_		)		->	tuple[int, int]:
 A__ =       0 if char in table[0] else 1
 A__ =       table[row].index(lowercase_		)
 return row, col







def 						_SCREAMING_SNAKE_CASE     (							lowercase_    ,				lowercase_		)		->	str:
 A__,   A__ =       get_position(lowercase_    ,				char.upper()		)
 if row == 1:
  return table[0][col]
 else:
  return table[1][col] if row == 0 else char


if __name__ == "__main__":
      import doctest

      doctest.testmod()  # Fist ensure that all our tests are passing...
      SCREAMING_SNAKE_CASE       = input("Enter key: ").strip()
      SCREAMING_SNAKE_CASE       = input("Enter text to encrypt: ").strip()
      SCREAMING_SNAKE_CASE       = encrypt(key, text)

      print(f'Encrypted: {cipher_text}')
      print(f'Decrypted with key: {decrypt(key, cipher_text)}')











"""simple docstring"""



def 						_SCREAMING_SNAKE_CASE     (							lowercase_		)		->	str:
 return " ".join(sorted(set(sentence.split()		)		)		)


if __name__ == "__main__":
      import doctest

      doctest.testmod()





