I find this Remedy employing a dictionary rather exquisite, highly effective and pythonic. Early optimisations are evil anyway so let's Have a very dict and find out afterwards it it's a bottleneck.You can then test Should the checklist is vacant and, in the event It isn't empty, extract The only element through the returned record.In accordance wi