### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,314)
- misc (3)
- project euler (2)
- puzzle (78)
- puzzle# (21)
- site news (54)
- tantalizer (80)
- teaser (7)

### Site Stats

- 217,167 hits

Programming Enigma Puzzles

17 April 2019

Posted by on **From New Scientist #982, 8th January 1976** [link]

Here is a strange fact about the parish council at Loose Chippings. The left-handed members always tell the truth but the right-handed members never do. Or perhaps it is the other way round. At any rate ambidextrous members certainly make just one true statement in every two.

And here is what five members have to say about each other:

Alfred:“Bernie is left-handed. Edward is left-handed.”

Bernie:“Alfred is right-handed. David is right-handed.”

Charles:“Alfred is ambidextrous. I am ambidextrous.”

David:“Charles is left-handed. I am right-handed.”

Edward:“Alfred is left-handed. Bernie is ambidextrous.”Who is what?

[tantalizer431]

%d bloggers like this:

This Python program examines all the possible arrangements. It runs in 106ms.

Run:[ @repl.it ]Solution:A is left-handed; B is ambidextrous; C is left-handed; D is right-handed; E is right-handed.Left-handers always lie, and right-handers always tell the truth.