Apr-27-2022, 02:50 AM
I agree. Print n_1 and the values will be sorted correctly. The old dictionary order is probably determined by the hash value of the keys.
Sort Differences in 2.7 and 3.10 Explained
|
|
Messages In This Thread |
Sort Differences in 2.7 and 3.10 Explained - by dgrunwal - Apr-26-2022, 10:45 PM
RE: Sort Differences in 2.7 and 3.10 Explained - by jefsummers - Apr-26-2022, 11:24 PM
RE: Sort Differences in 2.7 and 3.10 Explained - by deanhystad - Apr-27-2022, 02:50 AM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Python Tutorial 4.4 Loop Explained | rts | 2 | 896 |
Sep-26-2022, 07:46 PM Last Post: rts |
|
Calculate the sum of the differences inside tuple | PUP280 | 4 | 1,228 |
Aug-12-2022, 07:20 PM Last Post: deanhystad |
|
a.sort() == b.sort() all the time | 3lnyn0 | 1 | 1,355 |
Apr-19-2022, 06:50 PM Last Post: Gribouillis |
|
Newbie - code solution explained | Stjude1982 | 2 | 1,902 |
Sep-16-2021, 08:54 AM Last Post: Stjude1982 |
|
How to compare two PDFs for differences | Normanie | 2 | 2,432 |
Jul-30-2020, 07:31 AM Last Post: millpond |
|
Condition check differences and how to organise code? | adam2020 | 4 | 2,716 |
May-12-2019, 04:12 PM Last Post: Yoriz |