inp = input('somrthing: ') if inp.isnumeric(): print('THat was a integer.') else: print('That was not a integer.')