Retired

NATO Phonetic Alphabet (retired)

2,228 of 5,913user5854572

Description:

Complete the function nato that takes a word in parameter and returns a string that spells the word using the NATO phonetic alphabet.

There should be a space between each word in the returned string, and the first letter of each word should be capitalized.

For those of you that don't want your fingers to bleed, this kata already has a dictionary typed out for you.

Examples

"hi"      -->  "Hotel India"
"abc"     -->  "Alpha Bravo Charlie"
"babble"  -->  "Bravo Alpha Bravo Bravo Lima Echo"
"Banana"  -->  "Bravo Alpha November Alpha November Alpha"
Strings
Fundamentals

Stats:

CreatedOct 31, 2014
Warriors Trained9407
Total Skips528
Total Code Submissions19628
Total Times Completed5913
JavaScript Completions2228
CoffeeScript Completions148
Python Completions2956
Haskell Completions350
Ruby Completions594
Total Stars89
% of votes with a positive feedback rating92% of 548
Total "Very Satisfied" Votes470
Total "Somewhat Satisfied" Votes66
Total "Not Satisfied" Votes12
Ad
Contributors
  • user5854572 Avatar
  • jhoffner Avatar
  • ooflorent Avatar
  • bkaes Avatar
  • MysteriousMagenta Avatar
  • GiacomoSorbi Avatar
  • anter69 Avatar
  • Voile Avatar
  • NunoOliveira Avatar
  • trashy_incel Avatar
  • ejini战神 Avatar
  • sid114 Avatar
Ad