Python Output Prediction Easy +10 XP
String Methods
What is the output?
PythonRead-only
text = "hello world" print(text.title())
What is the output?
Show answer and explanation
Answer: Hello World
The title() method capitalizes the first letter of each word.
Hint: title() capitalizes words.
What this challenge tests
Output Prediction in Python: strings, methods.