const condition = () => {
  const question = getRandomNumInRange(startOfRange, endOfRange);
  const correctAnswer = isPrime(question) ? 'yes' : 'no';

  return cons(question, correctAnswer);