def get_x_coordinate(width, year_index):
    '\n    Given the width of the canvas and the index of the current year\n    in the YEARS list, returns the x coordinate of the vertical\n    line associated with that year.\n\n    Input:\n        width (int): The width of the canvas\n        year_index (int): The index of the current year in the YEARS list\n    Returns:\n        x_coordinate (int): The x coordinate of the vertical line associated\n                              with the specified year.\n    '
    space = ((width - (GRAPH_MARGIN_SIZE * 2)) / len(YEARS))
    x_coordinate = (GRAPH_MARGIN_SIZE + (year_index * space))
    return x_coordinate
Given the width of the canvas and the index of the current year
in the YEARS list, returns the x coordinate of the vertical
line associated with that year.

Input:
    width (int): The width of the canvas
    year_index (int): The index of the current year in the YEARS list
Returns:
    x_coordinate (int): The x coordinate of the vertical line associated
                          with the specified year.
def get_x_coordinate(width, year_index):
    '\n    Given the width of the canvas and the index of the current year\n    in the YEARS list, returns the x coordinate of the vertical\n    line associated with that year.\n\n    Input:\n        width (int): The width of the canvas\n        year_index (int): The index of the current year in the YEARS list\n    Returns:\n        x_coordinate (int): The x coordinate of the vertical line associated\n                              with the specified year.\n    '
    space = ((width - (GRAPH_MARGIN_SIZE * 2)) / len(YEARS))
    x_coordinate = (GRAPH_MARGIN_SIZE + (year_index * space))
    return x_coordinate