Question: 2. Write a python program to take a year as input and print whether it is a leap year or not. The flow chart of

2. Write a python program to take a year as input and print whether it is a leap year or not. The flow chart of checking a leap year is given below Test Case 1: Sample Input: Year: 2012 Sample Output: Yes Test Case 2 Sample Input: Year: 2014 Sample Output: No Input Year Is year evenly divisible by 4? Yes Not Leap Year Is year evenly divisible by 100? Yes Leap Year Is year evenly divisible by 400? Yes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
