ceasar_cipher module¶
- ceasar_cipher.create_shifted_alphabet(shift: int)[source]¶
Return a dictionary where the keys are the original letters in the alphabet and the values are the corresponding letters in the shifted alphabet
- Parameters
shift (int) – The shift
- Returns
The dictioary with the shifted alphabet
- Return type
dict
Example
>> shifted_alphabet = create_shifted_alphabet(2) >> shifted_alphabet["d"] "f"