Vidyalelo
Python · Q25

MCQs for Python Strings: Exam

Programming · Python · question 25

Q25

What is the purpose of the join() method for strings?

A.
Concatenates elements of an iterable into a string
B.
Reverses the string
C.
Removes whitespace
Answer
D.
Splits a string

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board