結果 : check if two types are the same python