Tag: python

  • Python dictionary

    Dictionaries are collection of objects which can be indexed using their keys. A dictionary contains items, which are key:value pairs. For one key in a dictionary, there can be only one value. Multiple keys can have same values. A dictionary can be created using a curly bracket, {}, or using dict() function. Python Python If we have to create a…