title: For loop - Leap year input
body: <p>could anyone please help me with a current problem Im having... Its a leap year exercise. </p>
  
  <p>● Write a program to input a year and a number of years.</p>
  
  <p>● Then determine and display which of those years were or will be leap
  years.</p>
  
  <p>Example:
  What year do you want to start with?   -   1994</p>
  
  <p>How many years do you want to check?  -     8</p>
  
  <p>1994 isn’t a leap year<br>
  1995 isn’t a leap year<br>
  1996 is a leap year<br>
  1997 isn’t a leap year<br>
  1998 isn’t a leap year<br>
  1999 isn’t a leap year<br>
  2000 is a leap year<br>
  2001 isn’t a leap year</p>
  
  <p>I cant seem to get my years to display there own value of being a leap year or not....this is the code i have so far:</p>
  
  <pre><code>year = int(input("Please enter the year you would like to start checking leap years from."))
  total_years = int(input("Please enter over how many years you would like to check."))
  leap_year= 0
  
  if year % 4 == 0 and (year % 100 != 0 or year % 400 == 0):   
     leap_year = ("this is a leap year")
  
  else:
     leap_year = ("this is not a leap year")
  
  for a in range (0,total_years):
      print(year + a, leap_year)
  </code></pre>
  
  <p>Any help will be greatly appreciated. 
  Thank you. </p>