About 1,230,000 results
Open links in new tab
  1. Python Program to Check Leap Year

    Source code to check whether a year entered by user is leap year or not in Python programming with output and explanation...

  2. Check Leap YearPython | GeeksforGeeks

    Feb 22, 2025 · calendar module in Python provides the calendar.isleap (y) function which checks if a given year is a leap year. This built-in function simplifies leap year validation with a single call returning True or False. Program uses calendar.isleap (y) to check if year is a leap year simplifying logic.

  3. program to check whether its a leap year or not - Python

    print(year,'is a leap year) Write, Run & Share Python code online using OneCompiler's Python online compiler for free. It's one of the robust, feature-rich online compilers for python language, supporting both the versions which are Python 3 and Python 2.7. Getting started with the OneCompiler's Python editor is easy and fast.

  4. Leap year.py - Python - OneCompiler

    It's one of the robust, feature-rich online compilers for python language, supporting both the versions which are Python 3 and Python 2.7. Getting started with the OneCompiler's Python editor is easy and fast.

  5. Leap Year Program in Python using Function - Python Guides

    May 9, 2024 · In this Python tutorial, you learned how to create leap year program in Python using function using the function. You also created a custom function that accepts input from the user and checks whether the given input is a leap year.

  6. Program to Check Leap Year in Python - ScholarHat

    Jan 19, 2025 · So, in this Python tutorial, we will calculate a leap year using Python, which will contain rules for determining if a year is a leap year, the leap-year program in Python in detail with code examples, and how to check a leap year using macros.

  7. Python Program For Leap Year (With Code) - Python Mania

    Yes, you can use this Python program for leap year for any year. Simply pass the desired year as an argument to the is_leap_year() function, and it will return True if it is a leap year and False if it is not.

  8. Leap Year - Python - OneCompiler

    Write, Run & Share Python code online using OneCompiler's Python online compiler for free. It's one of the robust, feature-rich online compilers for python language, supporting both the versions which are Python 3 and Python 2.7.

  9. Python Program - Check Leap Year Or Not | Online Free Tutorials

    May 10, 2022 · In the python program, so we have to use the if condition and elif statement to check if that is divisible by 4 or 400 to confirm the year is a leap year or not. Python language uses the Mod operator for doing the divisible checking.

  10. Python Program to Check Leap Year - CodingBroz

    In this post, we will learn how to check whether a year is a leap year or not using Python Programming language. A leap year has 366 days (the extra day is the 29th February). It comes after every four years. To check whether a year is a leap or not, divide the year by 4. If it is fully divisible by 4, then it is a leap year.

  11. Some results have been removed