Computer Science, asked by durgakumawat81031, 4 months ago

write program to take years at input and check if it is a leap year or not​


durgakumawat81031: plZ solve my quess
durgakumawat81031: koi kr sakta h is ans ko solve
durgakumawat81031: properly with output k sath

Answers

Answered by shriyanshsrivastava1
1

Answer:

See this example:

year = int(input("Enter a year: ")) ... if (year % 100) == 0: if (year % 400) == 0: print("{0} is a leap year".

Similar questions