def prompt_user(prompt):
<EOL>yes = set(['<STR_LIT:yes>', '<STR_LIT:y>'])<EOL>no = set(['<STR_LIT>','<STR_LIT:n>'])<EOL>try:<EOL><INDENT>print(prompt)<EOL>choice = input().lower()<EOL><DEDENT>except:<EOL><INDENT>print('<STR_LIT>')<EOL>print('<STR_LIT>')<EOL>print('<STR_LIT>')<EOL>print('<STR_LIT>')<EOL>raise<EOL><DEDENT>if choice in yes:<EOL><INDENT>return True<EOL><DEDENT>elif choice in no:<EOL><INDENT>return False<EOL><DEDENT>else:<EOL><INDENT>print(("<STR_LIT>" + choice))<EOL>print("<STR_LIT>")<EOL><DEDENT>
Ask user for agreeing to data set licenses.