Computer Science, asked by sudiptaceh, 4 months ago

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 RuwaisnZaid
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