Input a year and check if it's a leap year.
Leap year rule: divisible by 4, not divisible by 100 unless also divisible by 400
year = int(input("Enter a year: "))
if (year % 4 == 0 and year % 100 != 0) or (year % 400 == 0):
print(f"{year} is a Leap Year.")
else:
print(f"{year} is NOT a Leap Year.")