Introduction
Leap year is a year containing an extra day. Usually, a year has 365 days. The year where February has 29 days is referred as Leap.
The leap year has 366 days. In this tutorial, we will be writing a program that checks whether the year is leap or not. It is a simple program within a few lines of code. It is coded in python programming language. Python is a high level general-purpose programming language that perform huge tasks within a few lines of codes. The code below is useful for finding the leap or not. See the code below.
Source code
is_on = True while is_on: year = int(input("Which year do you want to check: ")) if year % 4 == 0: if year % 100 == 0: if year % 400 == 0: print("Leap year") else: print("Not leaps year") else: print("Sorry...") else: print("Not found")
My brother recommended I might like this web site He was totally right This post actually made my day You cannt imagine just how much time I had spent for this information Thanks
Nice blog here Also your site loads up very fast What host are you using Can I get your affiliate link to your host I wish my site loaded up as quickly as yours lol
Hello my loved one I want to say that this post is amazing great written and include almost all significant infos I would like to look extra posts like this
Tech to Trick Pretty! This has been a really wonderful post. Many thanks for providing these details.