Created
November 13, 2016 17:38
-
-
Save railsstudent/049386e9f9bcba8c33a8de058f3475af to your computer and use it in GitHub Desktop.
This file contains hidden or 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
solution = (string) -> | |
# Complete me! | |
alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
strCamelCase = '' | |
for s in string | |
if s not in alphabet then strCamelCase += s | |
else strCamelCase += ' ' + s | |
strCamelCase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment