結果 : explain building blocks of algorithm in detail in python