Title Case in Python
Level 128 keystrokes
This converts a string to title case. The title() method capitalizes the first letter of each word.
Python code
# title() returns a copy with the first letter of each word in uppercase# "hello world" becomes "Hello World", which print() shows1print("hello world".title())Output
Hello World
Practice typing this code. Results are not recorded in the rankings.
Symbols in this code
The symbols you type in this Python code and how often they appear.
"× 2(× 2)× 2.× 1