結果 : python typing return either of two types