Advertisement
WONGDEEM

Untitled

Apr 29th, 2019
118
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def num_of_leap_years (start_year, end_year):
  2.     count = 0
  3.     for i in range(start_year,end_year):
  4.         if is_leap_year(i):
  5.             count += 1
  6.     return count
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement