str.upper()函数,参考:https://www.runoob.com/python3/python3-string-upper.html
如:
a = 'hello world' print(a.upper()) #输出HELLO WORLD