結果 : check type if statement python