結果 : implement sigmoid function in python