Q. What is the output of the following code?
Code:
myList = ['a','b','c','d'] print "".join(myList)
β
Correct Answer: (B)
abcd
Explanation: “” describes a null string and the join() function combines the elements of the list into a string.