Python Programming - Console Input/Output - Discussion
Discussion Forum : Console Input/Output - General Questions (Q.No. 67)
67.
How can you check if a given year is a leap year or not?
Answer: Option
Explanation:
To check if a given year is a leap year or not, use
is_leap(int(input("Enter a year: ")))
.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers