We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Something I learned while solving this is that namedtuples have a ._make method that if the input string is in the same order as the namedtuple defintion string, it does the right thing:
Collections.namedtuple()
You are viewing a single comment's thread. Return to all comments →
Something I learned while solving this is that namedtuples have a
._make
method that if the input string is in the same order as the namedtuple defintion string, it does the right thing: