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:
- Python | Extract odd length words in String
- Program to print the given digit in words
- Python Program to print all permutations of a given string
- Python program to print the substrings that are prefix of the given string
- Program to print a doormat pattern having a string written in the center in Python
- Python | Extract words from given string
- Reverse words in a given String in Python
- Python | Words lengths in String
- Iterate over words of a String in Python
- Python - Words Frequency in String Shorthands
- Python program to count words in a sentence
- Python | Program to crawl a web page and get most frequent words
- Python program to find uncommon words from two Strings
- C program to find the length of a string
- Python - Length of shortest string in string list
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.
Improved By : AnkitRai01