The TIL series of articles contains very short articles documenting something I learned “today”.
Today I learned how I can use the method 'groupdict' from a regex match to get a dictionary with all named groups.
Have you ever heard of a maths problem based on Lord of The Rings characters?