結果 : how to write procedure in python