International Radiotelephony Spelling Alphabet by test

m={'A':'Alpha','C':'Charlie','B':'Bravo','E':'Echo','D':'Delta','G':'Golf','F':'Foxtrot','I':'India','H':'Hotel','K':'Kilo','J':'Juliet','M':'Mike','L':'Lima','O':'Oscar','N':'November','Q':'Quebec','P':'Papa','S':'Sierra','R':'Romeo','U':'Uniform','T':'Tango','W':'Whiskey','V':'Victor','Y':'Yankee','X':'X-ray','Z':'Zulu'}
print" ".join(m[x]if x in m else x for x in raw_input().upper())

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page