Python Practice › List Programs › Program 43

Join words without spaces

EasyList Programs · 43 of 100

Write a Python program to join a list of words into one string.

Advertisement
Input
["Sqa", "Tools", "Best", "Learning", "Platform"]
Output
SqaToolsBestLearningPlatform

Approach

  1. "".join(words).

Solution

Python
print("".join(["Sqa", "Tools", "Best", "Learning", "Platform"]))
Output
SqaToolsBestLearningPlatform

Learn the concept

New to this topic? Read the lesson, then come back.

More list programs

← All 100 List Programs

Leave a Comment