You are viewing a single comment's thread. Return to all comments →
if year % 100 == 0: if year % 400 != 0: return False else: return True elif year % 4 == 0: return True else: return False
Write a function
You are viewing a single comment's thread. Return to all comments →
if year % 100 == 0: if year % 400 != 0: return False else: return True elif year % 4 == 0: return True else: return False