Given a string. The task is to print all words with even length in the given string.
Input: s = "This is a python language" Output: This is python language Input: s = "i am muskan" Output: am muskan
Below is the Python implementation of the above approach:
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.