title: Using Python range and calendar to check for leap year
body: <p>Noob question. Is there a more ideal way to express a range using both range and calendar. Looking to set up a print True if any of the years in my range are leap years </p>
  
  <pre><code>year =  calendar.isleap(range(2016,2036))
  
  
  
  Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File "/usr/lib/python2.7/calendar.py", line 99, in isleap
  return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0)
  TypeError: unsupported operand type(s) for %: 'list' and 'int'
  </code></pre>