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
Published on 18-Apr-2018 13:50:35
Advertisements