Exercises/#109 Capitalize First Letter of Each Word
#109

Capitalize First Letter of Each Word

EasyπŸ”€ Strings
30 XP

Problem

Given a sentence, capitalize the first letter of each word.

Examples

Input: s = 'hello world from python'
Output: 'Hello World From Python'
string
AI Assistantβ€” powered by AI

Unlock hints progressively β€” start gentle, go deeper only if needed.

πŸ’‘

Level 1: Gentle Nudge

A subtle direction

πŸ—ΊοΈ

Level 2: Approach

The algorithm to use

πŸ”

Level 3: Detailed

Step-by-step guidance

109 / 150

Your Solution

⚑ JavaScript

to save progress and use AI features