You are viewing a single comment's thread. Return to all comments →
Here's in Python 3 one liner.....
def is_leap(y):return y%4==0 and (y%400==0 or y%100!=0)
Seems like cookies are disabled on this browser, please enable them to open this website
Write a function
You are viewing a single comment's thread. Return to all comments →
100 % working ,Simple and easy :-)
Here's in Python 3 one liner.....