結果 : how to check if something is a string or integer python