WONGDEEM

Untitled

Apr 29th, 2019
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment