結果 : how to write an interface in python