結果 : how to write mode in python