Python's dictionaries?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest

    Python's dictionaries?

    Python's dictionaries are kind of hash table type. They work like ***ociative arrays or hashes found in Perl and consist of key-value pairs. A dictionary key can be almost any Python type, but are usually numbers or strings. Values, on the other hand, can be any arbitrary Python object.
  • neharani
    Member
    • Dec 2012
    • 85

    #2
    Thanks for sharing this stuff @aarohi

    Comment

    • Swati walia
      Senior Member
      • Sep 2016
      • 108

      #3
      A dictionary is an ***ociative array (also known as hashes). Any key of the dictionary is ***ociated to a value. The values of a dictionary can be any Python data type. So dictionaries are unordered key-value-pairs.

      Comment

      • priya.sharma
        Senior Member
        • Aug 2016
        • 105

        #4
        Thanks for sharing

        Comment

        Working...
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎