Capitalize the first letter of each word in a string.
MediumProblem Statement
Capitalize the first letter of each word in a string.
Sample Input
python is fun
Sample Output
Python Is Fun
Limits
Time: 2s · Memory: 256 MB
Capitalize the first letter of each word in a string.
python is fun
Python Is Fun
Time: 2s · Memory: 256 MB