Skip to content

Commit

Permalink
Fix grammatical mistakes in simple_keyword_cypher.py (TheAlgorithms…
Browse files Browse the repository at this point in the history
…#6385)

* Fixed grammitical mistake

* Update ciphers/simple_keyword_cypher.py

Co-authored-by: Caeden Perelli-Harris <[email protected]>

Co-authored-by: Christian Clauss <[email protected]>
Co-authored-by: Caeden Perelli-Harris <[email protected]>
  • Loading branch information
3 people authored Oct 30, 2022
1 parent 7b7b3dd commit 2d39850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ciphers/simple_keyword_cypher.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def create_cipher_map(key: str) -> dict[str, str]:
:param key: keyword to use
:return: dictionary cipher map
"""
# Create alphabet list
# Create a list of the letters in the alphabet
alphabet = [chr(i + 65) for i in range(26)]
# Remove duplicate characters from key
key = remove_duplicates(key.upper())
Expand Down

0 comments on commit 2d39850

Please sign in to comment.