結果 : left right function in python