基本for迴圈+判斷
https://www.youtube.com/watch?v=eL14S8y05jo&list=PLSRyNAP4ghHeCeeepXWcHhCEwawHL0Ho4&index=1