Frequently asked questions about list in Python

  • How to convert a list to a String?

Ans: You can convert a list to a String using join() function. It will return a String which is the concatenation of the Strings in iterable. If you list contains only integers you should first convert the integer into string then only you can perform join operation on them. Continue reading

Advertisements

Interfaces in java, Really Needed?

Most of the newcomers in java programming language experience a confusion why on earth do you need Interfaces when you have abstract classes. It is one of the simple feature of java that may sometimes become puzzling. Continue reading