Python Practice › List Programs › Program 43
Join words without spaces
Write a Python program to join a list of words into one string.
Input
["Sqa", "Tools", "Best", "Learning", "Platform"]
Output
SqaToolsBestLearningPlatform
Approach
"".join(words).
Solution
print("".join(["Sqa", "Tools", "Best", "Learning", "Platform"]))Output
SqaToolsBestLearningPlatform
Learn the concept
New to this topic? Read the lesson, then come back.