In Python we can do this, since we can have both int
and dict
data type values
dict1 = {'a':1, 'b':2, 'c':{'x':3, 'y':3, 'z':5}, 'q':3}
Is there a way to do this in C++ for maps?
In Python we can do this, since we can have both int
and dict
data type values
dict1 = {'a':1, 'b':2, 'c':{'x':3, 'y':3, 'z':5}, 'q':3}
Is there a way to do this in C++ for maps?