the question is a year is a leap if it is divisible by 4, unless it is a century year that is not devisible by 400. write a program that calculates whether a year is a leap or not
def main():
year = eval(input("Enter a year"))
if year/4 and year/400:
print("It is a leap year")
else:
print("Its not a leap year")
main()
this is wat i did. i dont understand why it only prints it is a leap year although i enter 1900 which is not devided by 400.......