import numpy as np numbers = [1, 2, 3, 4, 5] print(numbers) numbers2 = [] for i in range(1,6): numbers2.append(i) print(numbers2) # List comprehension numbers3 = [n for n in range(1,6)] print(numbers3 ) 실행결과[1][1, 2, 3, 4, 5][1, 2][1, 2, 3, 4, 5][1, 2, 3][1, 2, 3, 4, 5][1, 2, 3, 4][1, 2, 3, 4, 5][1, 2, 3, 4, 5][1, 2, 3, 4, 5] # 2, 4, 6, 8, 10 even = [2 * n for n in range (1,6)] print(even) 실행결과[..