Page 1 of 1

Question 2 (Lab 3.1.1.12) Write a code to determine if a year is a leap or a common year, use the following rules: 1- If

Posted: Thu May 26, 2022 9:07 am
by answerhappygod
Question 2 Lab 3 1 1 12 Write A Code To Determine If A Year Is A Leap Or A Common Year Use The Following Rules 1 If 1
Question 2 Lab 3 1 1 12 Write A Code To Determine If A Year Is A Leap Or A Common Year Use The Following Rules 1 If 1 (26.52 KiB) Viewed 24 times
python Institute
Question 2 (Lab 3.1.1.12) Write a code to determine if a year is a leap or a common year, use the following rules: 1- If the entered year is before year 1582, show the message "Not within the Gregorian calendar" ), then exit the program. 2- If the year number isn't divisible by four, it's a common year; 3- otherwise, if the year number isn't divisible by 100, it's a leap year; 4- otherwise, if the year number isn't divisible by 400, it's a common year; 5- otherwise, it's a leap year. You code ***** Pago