>>> replace each letter in 'ABCD' with the corresponding NATO Phonetic alphabet code

- elapsed 0.384 seconds -
code = {'A': 'Alfa', 'B': 'Bravo', 'C': 'Charlie', 'D': 'Delta'}
string = 'ABCD'

