index = 0
word = 'panda'
possible_char = ['a', 'b', 'c', 'd', 'o']
for char in possible_char:
    index = 0
while index < len(word):
    new_word = word[:index] + char + word[index + 1:]
print(new_word)
index = index + 1
Iterating through a string with different possible characters