There are four collection data types in the Python programming language:a)List is a collection which is ordered and changeable. It is created by placing all the items (elements) inside a square bracket [] separated by commas and allows duplicate members.b)Tuple is a collection which is ordered and unchangeable and it allows duplicate members. And, one cannot change elements of a tuple once it is defined.c)A set is an unordered collection of items where every element is unique (no duplicates). Sets are mutable. You can add, remove and delete elements of a set.d)Dictionary is a collection which is unordered, changeable and indexed and has no duplicate members.While other compound data types have only value as an element, a dictionary has a key: value pair. - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
15 followers study24x7 14 Jan 2019 11:23 AM study24x7 study24x7

There are four collection data types in the Python programming language:

a)List is a collection which is ordered and changeable. It is created by placing all the items (elements) inside a square bracket [] separated by commas and allows duplicate members.
b)Tuple is a c...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles