So i a making a caesar cipher program that uses a keyword. However when i make my program ask for the keyword again for decryption the keywords are apparently treated differently even if i enter the exact same characters.
my first input for a keyword is:
keyword = input("Please enter a keyword")
keyword = keyword.upper()
keyword = keyword.replace(" ","")
my second input is:
keyword2 = input("please enter the keyword again")
keyword2 = keyword2.upper()
keyword2 = keyword2.replace(" ","")
For some reason even if i enter the same characters i get them being counted as different when i test it. This is the only part of my program that changes the keyword variable. The rest of it just grabs the first letter for example.
Al