Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
re.search solution in Clear category for Three Words by Olpag
import re
def checkio(words: str) -> bool:
pat = re.compile(r"(\b[a-zA-Z']+[ ]{,1}?){3}(?=\d*)")
return bool(pat.search(words))
Feb. 9, 2019