import json


def pretty_str(list_or_dict):
    """
    Returns a string for the provided list or dict
    that looks good when printed to the console
    """
    return json.dumps(list_or_dict, indent=2)