In Python 3.7 and above, sorted() can be used to sort the dictionary keys and can be used to re-generating a new (sorted) dict – see below: ...
確定! 回上一頁