CBSE Class 11 Computer Science
Question 75 of 91
String Manipulation — Question 20
Back to all questions 20
Question Question 10
What is the output produced?
(i) >>> "-".join(['123','365','1319'])
(ii) >>> " ".join(['Python', 'is', 'fun'])
Answer
(i) '123-365-1319'
(ii) 'Python is fun'