Computer Science, asked by rajsinghjaat753, 5 months ago

Write a program that accepts year and check whether the year is leap year or not.​

Answers

Answered by mlnswamy1616
1

Answer:

Python Program to Check Leap Year

In this program, you will learn to check whether a year is leap year or not. We will use nested if...else to solve this problem.

To understand this example, you should have the knowledge of the following Python programming topics:

Python Operators

Python if...else Statement

A leap year is exactly divisible by 4 except for century years (years ending with 00). The century year is a leap year only if it is perfectly divisible by 400. For example

Similar questions