الصفحة الرئيسيةpython Python Program to Check Leap Year يونيو 20, 2021 0 year = int(input("enter the year : ")) if (year % 4) == 0: if (year % 100) == 0: if (year % 400) == 0: print("{0} is a leap year".format(year)) else: print("{0} is not a leap year".format(year)) else: print("{0} is a leap year".format(year)) else: print("{0} is not a leap year".format(year)) Tags: python Facebook Twitter