Implement Des Algorithm In Python Definition