結果 : how to write a decorator function in python