📅  最后修改于: 2022-03-11 14:46:27.282000             🧑  作者: Mango
代码示例4
# Use title() to capitalize the first letter of each word in a string.
name = "elon musk"
print(name.title())
# Elon Musk