# Ask the user for a number number = int(input("Enter a number: ")) # Check if the number is within 10 of 100 if abs(number - 100) <= 10: print(f"{number} is close to 100") else: print(f"{number} is not close to 100")