結果 : define logical error in python