Created
October 29, 2012 14:45
-
-
Save mfbx9da4/3973946 to your computer and use it in GitHub Desktop.
Nato
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nato = { | |
"a": 'Alfa', | |
"b": 'Bravo', | |
"c": 'Charlie', | |
"d": 'Delta', | |
"e": 'Echo', | |
"f": 'Foxtrot', | |
"g": 'Golf', | |
"h": 'Hotel', | |
"i": 'India', | |
"j": 'Juliet', | |
"k": 'Kilo', | |
"l": 'Lima', | |
"m": 'Mike', | |
"n": 'November', | |
"o": 'Oscar', | |
"p": 'Papa', | |
"q": 'Quebec', | |
"r": 'Romeo', | |
"s": 'Sierra', | |
"t": 'Tango', | |
"u": 'Uniform', | |
"v": 'Victor', | |
"w": 'Whiskey', | |
"x": 'Xray', | |
"y": 'Yankee', | |
"z": 'Zulu', | |
' ':' ' | |
} | |
s = 'happy birthday george halsey love dave' | |
for x in s: | |
print nato[x] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment