Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
A doesn't turn on capslock solution in Clear category for Caps Lock by veky
def caps_lock(text: str) -> str:
cl, result = False, ''
for fragment in text.split('a'):
if cl: fragment = fragment.upper()
result += fragment
cl = not cl
return result
Dec. 13, 2018
Comments: