Teaser 2682: 007
From The Sunday Times, 16th February 2014 [link] [link]
Eight villains Drax, Jaws, Krest, Largo, Morant, Moth, Sanguinette and Silva have been ordered to disrupt the orbits of the planets Earth, Jupiter, Mars, Mercury, Neptune, Saturn, Uranus and Venus, with each villain disrupting a different planet. Our agents Brosnan, Casenove, Connery, Craig, Dalton, Dench, Lazenby and Moore have each been assigned to thwart a different villain. For any villain/planet, villain/agent or planet/agent combinations just two different letters of the alphabet occur in both names.
List the eight agents in alphabetical order of their assigned villains.
[teaser2682]
Jim Randell 9:02 am on 16 July 2020 Permalink |
This is another puzzle that can be solved using [[
grouping]] routines from the enigma.py library.Run: [ @repl.it ]
from enigma import grouping # villains (in alphabetical order), planets, agents V = ('Drax', 'Jaws', 'Krest', 'Largo', 'Morant', 'Moth', 'Sanguinette', 'Silva') P = ('Earth', 'Jupiter', 'Mars', 'Mercury', 'Neptune', 'Saturn', 'Uranus', 'Venus') A = ('Brosnan', 'Casenove', 'Connery', 'Craig', 'Dalton', 'Dench', 'Lazenby', 'Moore') grouping.solve([V, P, A], grouping.share_letters(2))Solution: The ordering of the agents is: Dalton, Casenove, Connery, Lazenby, Craig, Moore, Dench, Brosnan.
The groups are:
LikeLike