L = [1,2,3,4,5]1. list(map(str, L))2. list(str(n) for n in L)둘중에 뭐 선호?성능으로는 list comprehension이 더 빠른건 아는데 1번이 더 보기가 쉽네
댓글 0