描述
Python upper() 方法将字符云计串中的小写字母转为大写字母。
语法
以下是 upper(算开) 方法语法:
str.upper()
返回值
返回小发:写字母转为大写字母的字符串。
实例
以下实例展示Py了upper()函数的使用方法:
以上实例输出结th果如下:
邮箱:[email protected]
电话:020-123456789
传真:020-123456789
Copyright © 2026 Powered by 千年一律网 https://bcreativecalligraphy.com/