Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
slicing solution in Creative category for Caps Lock by David_Jones
def caps_lock(text):
text_chunks = text.split('a')
text_chunks[1::2] = map(str.upper, text_chunks[1::2])
return ''.join(text_chunks)
May 22, 2019
Comments: