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