def confirm_delete(profile):
answer = "<STR_LIT>"<EOL>while answer not in ["<STR_LIT:y>", "<STR_LIT:n>"]:<EOL><INDENT>answer = input("<STR_LIT>" % profile).lower()<EOL><DEDENT>return answer == "<STR_LIT:y>"<EOL>
Prompt user to enter Y or N (case-insensitive) to continue.