def user_prompt(prompt, default=None):
    """Allow use of default values in input."""
    prompt = '{} [{}]: '.format(prompt, default)
    response = input(prompt)
    if not response and default:
        return default
    else:
        return response