Python Code For Find S Algorithm In Ml