PYTHON DATA STRUCTURES

 SETS:



set is a mutable data type that contains an unordered collection of items. A set is represented with { }.

POPULAR STORY:


We know that set is a food.   - karam 

unordered  - not ordered

mutable data type - add  and remove salt or spices whatever u need - add the elements and remove the elements.

no duplicates of salts and spices

we cannot modify the salt and spice taste ------ same way we cannot change the existing elements.



Comments

Popular posts from this blog

CONVERTING TUPLE INTO LIST AND LIST INTO TUPLE