結果 : python use type in if statement