主页
Python
Python String capitalize() 方法
demo_ref_string_capitalize
运行 ❯
×
更改方向
保存代码
更改主题
txt = "hello, and welcome to my world." x = txt.capitalize() print (x)
Hello, and welcome to my world.