将每一个分隔开的字符的首字母大写
def capitalize_every_word(s):
print(s)
# hello world!
print(s.title())
capitalize_every_word('hello world!')
# Hello World!
2020-05-03
本文来自博客园,作者:CodeYaSuo,转载请注明原文链接:https://www.cnblogs.com/hany-postq473111315/p/12821790.html