I have a function thats supposed to take user input and convert it into morse code however it is only returning the first character in the string.
Here is what i\'ve done