How to check a year is leap or not || Python Program || Exercise :2

Опубликовано: 24 Апрель 2026
на канале: S Square Tech
87
6

Hello S Square Tech Family :)
Hope you all are good and safe!

We created a playlist for Python Exercise this playlist helps you to practice Python Language.

Exercise :2
How to check a year is leap or not..?

It's very useful for begineers so please make this program and share this video with your friends, enjoy it.
Thanks 😀

Subscribe for More daily Updates.💥
https://www.youtube.com/channel/UCK4H...

In this page we daily upload tech and meme posts so please once visit this page hope you will like, if you really liked please follow us.
Follow us on Instagram :
  / s_square_te...​  

Follow us on Facebook :
  / s-square-tech-100992292176142  

Canva Tutorial Playlist for begineers :
https://www.youtube.com/playlist?list...

Python Programs Playlists for Begineers :
   • How to Display Calendar in Python  Languag...  

Try this exercise for practice (:

#sandietech​ #ssquaretech​ #leapyear #python #stayhome #staysafe #leapyearpython #leap #checkyearisleapornot #pythonprograms #checkingyearisleapornot #programmer😎

how to check a year is leap or not
leap year check
check leap year in python
python program to check leap year
leap year in python
python program
Python exercise
which year is leap year


Source Code of the Program :
Python Program to check if a year is leap year or not

Take input from the user
year = int(input("Enter Year :"))

if (year % 4) == 0:
if(year % 100) == 0:
if(year % 400) ==0:
print("{0} is a leap year".format(year))
else:
print("{0} is not a leap year".format(year))

else:
print("{0} is a leap year".format(year))

else:
print("{0} is not a leap year".format(year))

Have A Nice Day 😅
Please Subscribe our Channel...