You are viewing a single comment's thread. Return to all comments →
Here is Python solution from my HackerrankPractice repository:
def is_leap(y): return y % 4 == 0 and (y % 100 != 0 or y % 400 == 0)
Feel free to ask if you have any questions :)
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 →
Here is Python solution from my HackerrankPractice repository:
Feel free to ask if you have any questions :)