結果 : how to loop lines of code in python