Hi,
Can someone please help with the following program.
Can't seem to figure out where I am going wrong.
My program executes fine, just ends up giving the wrong result. Ex. 1992 is a leap year, but my program shows it's not.
Can someone please help with the following program.
Can't seem to figure out where I am going wrong.
My program executes fine, just ends up giving the wrong result. Ex. 1992 is a leap year, but my program shows it's not.
a = int(input("Enter year : ")) if (a % 4) == 0: if (a % 100) == 0: if (a % 400) == 0: print("Tis is leeap year") else: print("not a leap year") else: print("not a leapp year") else: print("No it ain't")TIA