In case anyone stumbles across curiosity on a smilar subject, here is the code that finally made this work for me:
Code:
>>> plaintext = 'aeiou' >>> list = [ord(letter) for letter in plaintext] >>> list [97, 101, 105, 111, 117] >>> list2 =[list[i-1]+i for i in range(len(list))] >>> list2 [117, 98, 103, 108, 115] >>>
Leave a comment: