def ask_string(*question: Token, default: Optional[str] = None) -> Optional[str]:
tokens = get_ask_tokens(question)<EOL>if default:<EOL><INDENT>tokens.append("<STR_LIT>" % default)<EOL><DEDENT>info(*tokens)<EOL>answer = read_input()<EOL>if not answer:<EOL><INDENT>return default<EOL><DEDENT>return answer<EOL>
Ask the user to enter a string.