import re

text1 = "This has four words"
text2 = "This has three"

# Let's say sentences with at least 4 words pass.

words1 = re.split(r"\s+", text1)
words2 = re.split(r"\s+", text2)

if len(words1) > 3:
	print("text1 Pass")
else:
	print("text1 Fail")
	
if len(words2) > 3:
	print("text2 Pass")
else:
	print("text2 Fail")