#Alamgir Hossain, CSE, JUST#Leap year check in python programming----------- year = input("Enter the year : ") if year%400==0: print "The year is leap year."elif year%4==0: if year%100!=0: print "The year is Leap year." else: print "The year is Not Leap Year."else: print "The year is Not Leap Year!!!"
No comments:
Post a Comment