Question: Create a Python program named cst - 1 5 0 - february - days.py . In the main part of your program:a . Prompt the
Create a Python program named cstfebruarydays.py In the main part of your program:a Prompt the user to enter a year and store it in a variable, eg year.b Use conditional statements to determine whether the given year is a leap year based on the provided criteria:If the year is divisible by it is a leap year only if it is also divisible by If the year is not divisible by it is a leap year only if it is divisible by c Display a message indicating the number of days in February for the given year.Display the result using a print statement.Save and run your program to check the number of days in February for the entered year.Sample Output:Enter a year: XXXXIn XXXX February has or days.Note: Replace XXXX with the actual value.
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
