convert to capital letters in python idle code example Example: python string caps lock >>> s = 'sdsd' >>> s.upper() 'SDSD'