what is the frozenset data type and dict data type in Python

Frozenset Data Type:

It is exactly same as set except tha it is immutable. Hence We cannot use add or remove funcions.

Dict Data Type :

if we want to represent a group of values as key-value pairs then we should go for dict data type.

example: d= {101:'subbu', 102:'geetha', 103: ' vasu'}

Duplicate keys are not allowed but values can be duplicated. if we are trying to insert an entry with duplicate key then old values will be replaced with new value.

Dict is mutable and order wont be preserved.