You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Write a function that accepts a string. The function should
capitalize the first letter of each word in the string then
return the capitalized string.
Examples
capitalize('a short sentence') --> 'A Short Sentence'
capitalize('a lazy fox') --> 'A Lazy Fox'
capitalize('look, it is working!') --> 'Look, It Is Working!'
The text was updated successfully, but these errors were encountered:
Description
Write a function that accepts a string. The function should
capitalize the first letter of each word in the string then
return the capitalized string.
Examples
The text was updated successfully, but these errors were encountered: