Check If Input Is Integer Or String Python