year=int(input ("Enter any year : ")) 
if((year%4-8 and year %100!=0) or (year%400 == 0)):

print("Leap Year")

else:

print("Not a Leap Year")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: