将一个字符串转换为标题格式（即每个单词首字母大写）。


def to_title_case(s):
"""Convert string s to title case, i.e., capitalize the first letter of every word."""
# TODO: replace the line below with the correct code
return ""

s = "the quick brown fox jumps over the lazy dog"
print(to_title_case(s))
def to_title_case(s):
    """Convert string s to title case, i.e., capitalize the first letter of every word."""
    # TODO: replace the line below with the correct code
    return s.title()

s = "the quick brown fox jumps over the lazy dog"
print(to_title_case(s))