結果 : how to write def function in python