"""asd""" alphabet = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz" letter_chosen = input("string? ") letter_amount = len(letter_chosen) increment_repeat = 0 print(ord(" ")) key = int(input("key? ")) for x in range(0, letter_amount): letter = ord(letter_chosen[0+increment_repeat]) increment_repeat += 1 print(alphabet[(letter - 97) + key])