No installations needed! Write Python directly in your browser and get instant feedback with our smart validation system.
Transform a string so that each word starts with an uppercase letter.
You are given a string variable
Your task is to capitalize the first letter of each word in
Words are separated by spaces.
Print the resulting string with each word capitalized.
Output:
Get your code reviewed and validated to understand what you did right and where you can improve.