結果 : how to define an interface in python