如何将字符串转换为大写

>>s = 'sdsd'
 >>s.ascii_uppercase
Traceback (most recent call last):
  File "<console>", line 1, in <module>
AttributeError: 'str' object has no attribute 'ascii_uppercase'

答案