about | help | code help+videos | done | prefs |
Write a function captalize(word) that returns a version of the string word with the first letter capitalized. (Note that the word may already be capitalized!) You may assume word has at least 2 characters and begins with a letter. capitalize('some string') → 'Some string' capitalize('Nevermore') → 'Nevermore' capitalize('uNDER tHE sEA') → 'UNDER tHE sEA' ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy