One Sentence (string) is given. find out the words, that has length even and greater than equal to 4 (e.g. 4,6,8.. etc.) and separate them with space.
Answers
Answered by
3
Explanation:
SEN = INPUT("ENTER A SENTENCE")
K = SEN.SPLIT()
FOR I IN K:
IF LEN(I)>=4:
I.SPLIT(" ")
PRINT(L)
MARK ME AS BRAINLY*
Similar questions
Social Sciences,
3 months ago
Math,
6 months ago
Math,
6 months ago
Political Science,
11 months ago
Political Science,
11 months ago