Python Practice › Tuple Programs › Program 9
Tuple of characters to a string
Write a Python program to join a tuple of characters into a string.
Input
("s", "q", "a", "t", "o", "o", "l", "s")Output
Sqatools
Approach
"".join(t).
Solution
t = ("s", "q", "a", "t", "o", "o", "l", "s")print("".join(t).capitalize())Output
Sqatools
Learn the concept
New to this topic? Read the lesson, then come back.