title: Implement a lambda function to get a range of year referencing the current year as list with Python?
body: <p>Does anyone know of a lambda function that can be implemented to get a range of year roughly +/- 3 years from the current year as a list?</p>
  <p>Currently, what I'm doing is:</p>
  <pre><code>oneYear = datetime.datetime.now().year - 1
  twoYear= datetime.datetime.now().year - 2
  threeYear= datetime.datetime.now().year - 3
  
  oneYearFuture = datetime.datetime.now().year + 1
  twoYearFuture = datetime.datetime.now().year + 1
  threeYearFuture = datetime.datetime.now().year + 1
  
  years = [oneYear, twoYear, threeYear, datetime.datetime.now().year, oneYearFuture, twoYearFuture, threeYearFuture ]
  </code></pre>
  <p>Is there a better way to do it?</p>