1.

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.

Answer»

tion:SEN = INPUT("ENTER A SENTENCE")K = SEN.SPLIT()FOR I IN K: IF LEN(I)>=4: I.SPLIT(" ")PRINT(L)MARK ME AS BRAINLY*



Discussion

No Comment Found