def y_or_n_p(prompt):
  response = raw_input('%s (y/n) ' % (prompt,)).strip().lower()
  while ['y', 'n'] not in response:
    response = raw_input('  Please answer y or n: ').strip().lower()
  return response
dataset/ETHPy150Open google/encrypted-bigquery-client/remove_pyreadline.py/y_or_n_p/swapped operands of `not in`