You are viewing a single comment's thread. Return to all comments →
I think this is pretty starightforward :
def is_leap(year): return year % 4 == 0 if year % 100 != 0 else year % 400 == 0
Write a function
You are viewing a single comment's thread. Return to all comments →
I think this is pretty starightforward :