How to make a named tuple from a dictionary?

Awesome, thanks a lot! I didn’t even know keys and values could be accessed like that.