Question: Mod 1 Lab: Basic Python Coding Question 1 Create a python program that will determine if a given year is a leap year. Using nested
Mod Lab: Basic Python
Coding Question
Create a python program that will determine if a given year is a leap year. Using nested if else
statements, follow the guideline below to create your leap year program.
A leap year is exactly divisible by except for century years years ending with
The century year is a leap year only if it is perfectly divisible by
Examples: Examples in program:
is not a leap year Input: Output: False
is not a leap year Input: Output: False
is a leap year Input: Output: True
is a leap year Input: Output: True
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
