HackerRank- Write a Function in Python
You are given the year, and you have to write a function to check if the year is leap or not.
if (year % 4) == 0:
if (year % 100) == 0:
if (year % 400) == 0:
year = int(input())
Please click on the like button if it worked
Solution not working or have any suggestions? Please send an email to [email protected]
donate a cup of tea :)
Join Our Facebook Group
Popular HackerRank Python Solutions
Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more.
Sign Up for our weekly newsletter to get update about new content.