Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Caps Lock by mAzrunnr
import re
def caps_lock(text: str) -> str:
return ''.join([x.upper() if i% 2 != 0 else x for i, x in enumerate(re.split(r'[a]',text))])
Dec. 16, 2023