結果 : why is my function not returning a value python