human
Python program to shift by an year date.
assistant
Here is a Python program to shift by an year date

import datetime

def shift_year(date):
    """Shift date by an year.

    :param date:
    :rtype: datetime
    :return:
    """
    return date + datetime.timedelta(1)

# Enter the date
date = datetime.date(2018, 1, 1)

# Calling the function
print((shift_year(date)))

#Example Output
# 2018-01-02

#Remember to inspect code for bugs.