Q. Which method joins a list of strings?
Solution:
join() combines a list, e.g., ‘-‘.join([‘a’, ‘b’]) = ‘a-b’.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
join() combines a list, e.g., ‘-‘.join([‘a’, ‘b’]) = ‘a-b’.
Strengthen Your Practice with our comprehensive question bank.