Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
simple join solution in Clear category for Caps Lock by kdim
def caps_lock(text: str) -> str:
return ''.join([n.upper() if i % 2 else n for i, n in enumerate(text.split('a'))])
Jan. 27, 2021