number = int(input("Enter a number: ")) if number < 111 and number > 89: print(number, "is close to 100") else: print(number, "is not close to 100")