Наиболее прямолинейно при использовании пониманий,
>>> Phonetics = ["Alpha","Bravo","Charlie","Delta","Echo","Foxtrot","Golf","Hotel","India","Juliet","Kilo","Lima","Mike","November","Oscar","Papa","Quebec","Romeo","Sierra","Tango","Uniform","Victor","Whiskey","X-Ray","Yankee","Zulu"]
>>> inp = input("Please enter your word:")
Please enter your word:alpha
>>> ",".join([j for i in inp for j in Phonetics if j.lower().startswith(i.lower())])'Alpha,Lima,Papa,Hotel,Alpha'
>>>
Ответ:
Alpha,Lima,Papa,Hotel,Alpha
Примечание: для алфавитов вы можете использовать строка модуля вместо
import string
Alphabets = list(string.ascii_lowercase)
Второй подход,
генерирование алфавитов с использованием фонетики
>>> Phonetics = ["Alpha","Bravo","Charlie","Delta","Echo","Foxtrot","Golf","Hotel","India","Juliet","Kilo","Lima","Mike","November","Oscar","Papa","Quebec","Romeo","Sierra","Tango","Uniform","Victor","Whiskey","X-Ray","Yankee","Zulu"]
>>> Alphabets = {i[0].lower(): i for i in Phonetics}
>>> inp = raw_input("Please enter your word:")
Please enter your word:apple
>>> ",".join((Alphabets[i.lower()] for i in inp))
'Alpha,Papa,Papa,Lima,Echo'
>>>