結果 : python convert nested for loop to list comprehension