結果 : how to write a procedure in python