#try to avoid input function a = int(input("Enter Centuries :")) b = int(input("Enter Years :")) a = a*100 ## convert century to years c = a+b if c % 4 == 0: print("Is a Leap year") else: print("Not a Leap year")
Click the run button. Try to avoid input() function.