This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
s = input("Please enter the cipher text: ") | |
place = input( | |
"Please enter the character index (optional): ") | |
shift = input("Please enter the shift key: ") | |
chars = "abcdefghijklmnopqrstuvwxyz" | |
exclude = " '\":;.,?!" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s = input("Please enter the cipher text: ") | |
chars = "abcdefghijklmnopqrstuvwxyz" | |
exclude = " '\":;.,?!" | |
result = [] | |
for c in s: | |
if c in exclude: | |
result.append(c) |