# Use title() to capitalize the first letter of each word in a string. name = "elon musk" print(name.title()) # Elon Musk