#Write down an alphabet alphabet=['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'] message = input('write a message you want to encrypt: ') shift = input('what shift do you want to use? ') shift = int(shift) d = {} for i in range(0,26): letter = alphabet[i] shiftedLetter = alphabet[(i+shift)%26] d[letter] = shiftedLetter print(letter+' = '+shiftedLetter) print(d)