title: PopItem in dictionary returns Last inserted pair for 3.7 onwards. How is it as dictionary is unordered
body: <p><a href="https://docs.python.org/3/library/stdtypes.html?highlight=popitem#dict.popitem" rel="nofollow noreferrer">popitem()</a> in dictionary guarantee to return last inserted pair for 3.7 and onward. Dictionary is unordered type. So, how dictionary is able to achieve this? </p>