Problem 11

One comment on “Problem 11”


  • Mohd Saif

    #python

    n=int(input(“Enter the year:\n”))
    if(n%4==0):
    if(n%100==0):
    if(n%400==0):
    print(f”{n} is a Leap year”)
    else:
    print(f”{n} is not a Leap year”)
    else:
    print(f”{n} is a Leap year”)
    else:
    print(f”{n} is not a Leap year”)