General Post Archive
Python program to copy a list The list() built-in method takes an iterable and creates a new list of its elements. Python program to concatenate multiple lists The ‘+’ operator joins multiple lists together into …
Python Sets Mathematically a set is a collection of elements, not having any particular order. A Python set is an unordered collection of immutable and unique elements. As the set elements are usually not stored …
Tuple A tuple is an immutable and sequential collection of data that can be indexed and sliced. Python tuple can contain homogeneous as well as heterogeneous values of data types such as integers, floats, strings, …
Slicing Slicing extracts a subset of elements from a sequence. In python, elements are sliced based on their index in the stream. As a sequence(List, tuple, and string) is an ordered stream of data, it …
PYTHON : OOPs Python is a multi-paradigm programming language. It means that Python supports different programming approach. Python Object Oriented Programming approach (OOPs) is the easiest and the most popular one among them . Introduction …