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.
				
					#Input list
list1 = ["There", "are", "Many", "Programming", "Language"]

#Printing output
" ".join(list1)
				
			

Output :

				
					'There are Many Programming Language'
				
			

get all the palindrome words from the string.

remove duplicate words from the string.

Leave a Comment