Question: Design flowgorithm and Write a python program that asks for a 4-digit year and determines whether that year is a leap year or not. What
Design flowgorithm and Write a python program that asks for a 4-digit year and determines whether that year is a leap year or not.
What is a leap year? To be a leap year, the year number must be divisible by four except for end-of-century years, which must be divisible by 400. This means that the year 2000 was a leap year, although 1900 was not. 2020, 2024 and 2028 are all leap years.
This should work for any year from 1700 to 2022
Attempt 1
Comments
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
