Q. What is the output produced ?
(i) >>> "-".join(['123','365', '1319'])
(ii) >>> " ".join(['Python', 'is', 'fun'])
Answer =
(i)
>>> "-".join(['123','365', '1319'])
'123-365-1319'
>>>
(ii)
>>> " ".join(['Python', 'is', 'fun'])
'Python is fun'
>>>
Hello world
ReplyDeleteFirst program of value of all language 🤣
DeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )