源代码
txt = "hello d2d2d2 and 5g5g5g" x = txt.title() print(x)
运行结果