this cipher uses a keyword and repeats it to the length of a message inputted then both are converted to number (positions of each letter of the keyword and message in the alphabet list) it then adds them together and is SUPPOSED to then be converted back to letters in the alphabet list.
alpha = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
keyword = input("Please enter a keyword: ")
sentence = input("Enter message: ")
new_keyword = []
while len(keyword) < len(sentence):
keyword = keyword + keyword
keyword = (keyword.lower())
for letters in keyword:
pos1 = alpha.index(letters) + 1
new_keyword.append(pos1)
print (new_keyword)
new_sentence = []
for letters in sentence:
pos2 = alpha.index(letters) + 1
new_sentence.append(pos2)
print (new_sentence)
joined = [x + y for x, y in zip(new_keyword, new_sentence)]
print (joined)
that is my code
i need to find a way to turn the joined list into letters again aka the encrypted message
PLEASE HELP