Sai

Overview of List and Set

Overview of list and set¶ There are 4 types of collections in Python. While list and set fundamentally contain homogeneous elements, dict and tuple contain heterogeneous elements.* Homogeneous means of same type. Examples of collections with homogeneous elements. Collection of employees – list Collection of unique employees – set Collection of integers – list Collection …

Overview of List and Set Read More »