源代码
txt = "Welcome to my 2nd world" x = txt.title() print(x)
运行结果