結果 : how to implement des algorithm in python