Unit Iv List, Tuple and Dictionaries
Unit Iv List, Tuple and Dictionaries
Unit Iv List, Tuple and Dictionaries
Access Items
• List items are indexed and you can access
them by referring to the index number:
• The first item has index 0.
Negative Indexing
• The symmetric_difference_update() method
will keep only the elements that are NOT
present in both sets.
• The symmetric_difference() method will
return a new set, that contains only the
elements that are NOT present in both sets.
What is a Histogram?