diff --git a/LeapLyear.py b/LeapLyear.py new file mode 100644 index 0000000..38e3041 --- /dev/null +++ b/LeapLyear.py @@ -0,0 +1,10 @@ +# Python Program to Check Leap Year using If Statement + +year = int(input("Please Enter the Year Number you wish: ")) + +if (( year%400 == 0)or (( year%4 == 0 ) and ( year%100 != 0))): + print("%d is a Leap Year" %year) +else: + print("%d is Not the Leap Year" %year) + +