Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Using translate solution in Clear category for First Word by erykcoapl
def first_word(text: str) -> str:
return text.translate(str.maketrans(",.", " ")).lstrip().split(maxsplit=1)[0]
March 15, 2021
Comments: