Python program to check whether a given year is a leap
kw.py
Output
kodingwindow@kw:~$ python3 kw.py __________________________________________ Program to check the given year is leap or not __________________________________________ Enter the year 65535 Enter a valid year __________________________________________ kodingwindow@kw:~$ python3 kw.py __________________________________________ Program to check the given year is leap or not __________________________________________ Enter the year 2024 2024 is a leap year __________________________________________
What Next?
Python Loops
Advertisement