Skip to content
Learnearn.uk » Python Unit Home » Boolean Operators

Boolean Operators

Knights and Knaves Riddle 1

Knights and Knaves Riddle 1

knight

You have been shipwrecked on the Knights and Knaves island. On this island there are only three types of people:

  • Knights, who always tell the truth.
  • Knaves, who always lie.
  • Spies, who can either tell the truth or lie.

You are walking down a footpath and are approached by two people Amy and Bill.

  • Bob says “At least one of use is a Knave.”
  • You know that one is a knight and one is a knave.

Who is Amy and who is Bill?

Knights and Knaves Riddle 2