結果 : use type in if statement python