I am searching for a python equivalent code/function for the below javascript code.
let nameSetFlagMap = new Map();
Ordered dictionary
from collections import OrderedDict nameSetFlagMap = OrderedDict() nameSetFlagMap["a"] = "a" nameSetFlagMap["b"] = "b"
548k questions
547k answers
4 comments
86.3k users