Python常用内置函数 2023-10-18 16:12 | 102 | 0 | Python | 2023-11-07 14:23 995 字 | 9 分钟 1.字符串处理函数 upper(): 将字符串中的所有字符转换为大写。 s = "hello world" print(s.upper()) # 输出:HELLO WORLD lo… python