get keys and items of dictionary `d`,list(d.items())