#try to avoid input function a = int(input("Enter a Number")) if a % 2 == 0: if a % 10 == 0: if a == 100: print("Even number ,divisible by 10 and equal to 100.") else: print("Even number,divisible by 10,but not equal to 100.") else: print("Even number not divisible by 10.") else: print("Odd Number")
Click the run button. Try to avoid input() function.