When you use a dict, there is no guarantee you will get the keys in the order you created them. Access is typically by key so that's not important.
WIth named tuple, you know the first element, will always be returned first.
When you use a dict, there is no guarantee you will get the keys in the order you created them. Access is typically by key so that's not important.
WIth named tuple, you know the first element, will always be returned first.
Cool! Thanks for the tips!