python字符串操作--upper()方法将小写转换为大写 发表于 2020-12-30 分类于 Python upper() 方法用于将所有区分大小写的字符转换为大写字符 格式及参数1str.upper() str : 字符串对象 实例(3.8.8)12str = 'gaoyuanqi'print(str.upper())