Python 3.7+ or CPython 3.6. Dicts preserve insertion order in Python 3.7+. Same in CPython 3.6, but it's an implementation detail. >>> x = {1: 2, 3: 4, ...
確定! 回上一頁