DEV Community

hinamurme
hinamurme

Posted on

dictionary Datatype

  • The dict datatype is predefine class treated as dict category datatype

  • The purpose of dict datatype store the value of key and value of value
    key of value is unique and value of value may be or may not be unique

  • The scinentific notation of dict datatype is curly braces
    We must be sepreated value by comma.
    dict datatype maintain the insertion order

  • An object of dict datatype dose not perform both indexing and slicing
    operation becoz key of value is immutable
    and on dict datatype we perform the keys operation
    value of value is mutable

  • we can modify the value of value but we can not modify the value of key

  • Pyhton programing lang in dict datatype we use two type of dict datatype
    Empty dict datatype
    Non-Empty dict datatype

Image description

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

If this article connected with you, consider tapping ❤️ or leaving a brief comment to share your thoughts!

Okay