How To Test If Input Is An Integer In Python