結果 : loop through each line in string python