An year is a leap year if it is a multiple of 4 , multiple of 400 and not a multiple of 100.
ans = int ( years / 4 ) NEW_LINE ans -= int ( years / 100 ) NEW_LINE ans += int ( years / 400 ) NEW_LINE return ans NEW_LINE