Flashes Home Search Notifications Sign in Post
Reuven M. Lerner @lernerpython.com · 18d

Dictionaries in #Python remember their insertion order, but equality ignores the ordering: d1 = {'a':10, 'b':20, 'c':30} d2 = {'b':20, 'c':30, 'a':10} d1 == d2 # True!

3 likes 0 replies

?

Legal

Privacy Policy Terms and Conditions

Contact

Support FAQs

Follow

Bluesky Instagram Threads
Flashes for Bluesky Get it on the App Store