2 i ·Oversætte

https://docs.vultr.com/python/....examples/check-leap-



leap year program in python Here is a simple Python program to check whether a year is a leap year Function to check if a year is a leap year
def is_leap_year(year):
if (year % 4 == 0 and year % 100 != or (year % 400 == :
return True
return False
This program checks if a year is divisible by 4 but not b

Python Program to Check Leap Year | Vultr Docs
Favicon 
docs.vultr.com

Python Program to Check Leap Year | Vultr Docs