結果 : define sigmoid function in python