Create a string from a list of words

In this program, we will take a list as input and create a string from a list of words.

Steps to solve the program
  1. Take a list as input.
  2. Convert the list into a string by using join().
  3. Print the output.

Output :

get all the palindrome words from the string.

remove duplicate words from the string.

Leave a Comment