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
Math,
3 months ago
Accountancy,
3 months ago
Math,
7 months ago
Math,
7 months ago
Political Science,
1 year ago
Political Science,
1 year ago