結果 : building block of algorithm in python