def print_summary(summary):
    """Print summary of data that could be lost or inaccurate."""
    keys = summary.keys()
    if len(keys) > 0:
        for key in keys:
            step = summary[key]
            step_keys = step.keys()
            if len(step_keys) > 0:
                print(f'\n\n\nConversion step: {key}')
            if 'LOST_TABLE' in step_keys:
                print('\nWarning: data in the following tables have been lost:'
                    )
                for item in step['LOST_TABLE']:
                    print(item)
            if 'LOST_COLUMN' in step_keys:
                print(
                    '\nWarning: data in the following columns have been lost:')
                for item in step['LOST_COLUMN']:
                    print(item)
            if 'LOST_DATA' in step_keys:
                print(
                    '\nWarning: a subset of data in the following columns have been lost:'
                    )
                for item in step['LOST_DATA']:
                    print(item)
            if 'INACCURATE_COLUMN' in step_keys:
                print(
                    """
Warning: data in the following columns have been auto-populated and may be inaccurate:"""
                    )
                for item in step['INACCURATE_COLUMN']:
                    print(item)
