World's Best AI Learning Platform with profoundly Demanding Certification Programs
Designed by IITian's, only for AI Learners.
You can simply use join() for this in the print function
list1 = ["India", "is","my","country"] str1 =" ".join(list1) print(str1) #output India is my country type(str1) #output str