日期: 2023 年 10 月 18 日

1 篇文章

Python常用内置函数
1.字符串处理函数 upper(): 将字符串中的所有字符转换为大写。 s = "hello world" print(s.upper()) # 输出:HELLO WORLD lo…