Robotics & Artificial Intelligence
Write a Python program to demonstrate the use of the join function.
Python String Manipulation
2 Likes
Answer
list1 = ["Riya", "Akshat", "Gem"]
new_string = ",".join(list1)
print(new_string)Output
Riya,Akshat,Gem
Answered By
2 Likes
Related Questions
Write a Python program to check the index of a particular character.
Write a Python program to create a sub string from a string.
Explain any four string operators.
Write a Python program to check that a given string contains only alpha numeric characters. If user is not entering alphanumeric characters prompt him or her to enter it again.