Jump to content

Puzzles/Logic puzzles/Two Cities

From Wikibooks, open books for an open world

Puzzles | Logic puzzles | Two Cities


There are two cities, one of them is called City of Lies, and the other - City of Truth. Those who were born in City of Lies always lie. Those who were born in City of Truth always tell truth. Residents of each town visit the other town from time to time, so when you ask someone a question you don't know if he would lie or not.

You are in one of these cities, and your task is to determine which city you are in by by asking a random bypasser one question. What question should you ask?

Solution