def custom_prompt(msg, options, default):
formatted_options = [<EOL>x.upper() if x == default else x.lower() for x in options<EOL>]<EOL>sure = input("<STR_LIT>".format(msg, "<STR_LIT:/>".join(formatted_options)))<EOL>if len(sure) == <NUM_LIT:0>:<EOL><INDENT>return default<EOL><DEDENT>for option in options:<EOL><INDENT>if sure.upper() == option.upper():<EOL><INDENT>return option<EOL><DEDENT><DEDENT>return default<EOL>
Prompts the user with custom options.