Sorry this is a bit late but...
Stranded on a strange alien planet, you are picking up morse code signals from Earth. Unfortunately, you aren't very practiced with morse code, so you create a program to interpret and translate it. Unfortunately, the alien computer you are using doesn't have any number keys, and you have no way of using any numbers in your code.
Challenge-Create a program that can convert a string made up of "_" and "." into letters.
-You may not use any numbers.
-The input can be in any form you want, and letters should be separated by spaces; paces between words are separated by multiple spaces.
-Any number of consecutive spaces greater than one in the input, should be represented by a single space in the output
-Outputs should be in all upper case
-Any combination of "_" and "." that doesn't make sense returns a "!"
ExampleInput:
".... .. _ .... . . ....."
Output:
"HI THERE!"
Use this key to convert morse code to letters:
SCORES:
Ranking: User: Language: Score: 1. Juju Ruby 175