結果 : python if statement based on data type