panda_autograsp.functions.functions.yes_or_no

panda_autograsp.functions.functions.yes_or_no(question, add_options=True)[source]

Simple yes or no prompt.

Parameters:
  • question (str) – Question of the yes or no prompt.
  • add_options (bool) – Include option statement (Y/n) after the question.
Returns:

Boolean specifying if the user gave the right response.

Return type:

bool