結果 : how to code sigmoid function in python