結果 : how to write interface in python