def ask(question, suggestion=None):
    """Prompt the user for input, with default text optionally pre-populated"""
    prompt_str = question
    # Make multi-line defaults look better by adding line breaks and separation
    if suggestion is not None and str(suggestion) in '\n':
        prompt_str += '\n------\n'
    elif not prompt_str.endswith(' '):
        prompt_str += ' '
    with prepopulate(suggestion):
        return raw_input(prompt_str).strip(' ')
dataset/ETHPy150Open Yelp/paasta/paasta_tools/cli/fsm/prompt.py/ask/swapped operands of `in`