What is possible key/value delimiter in Python dictionary?

PythonProgramming

You can use any hashable object like int, string, etc as a key in a python dict. You need to separate it from the value using the ':' delimiter. The value can be any type of object. Consecutive key value pairs must be separated by a comma.

raja
Updated on 30-Jul-2019 22:30:22

Advertisements