結果 : where to place functions in python code