We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4eadf1e commit 759becfCopy full SHA for 759becf
1 file changed
recipes/Python/107747_Ordered_Dictionary/recipe-107747.py
@@ -51,3 +51,7 @@ def update(self, dict):
51
52
def values(self):
53
return map(self.get, self._keys)
54
+
55
+ def move_to_end(self, key):
56
+ self._keys.remove(key)
57
+ self._keys.append(key)
0 commit comments