본문 바로가기
프로그래밍/python

[python] 리스트 원소 타입 바꾸기 (map함수사용)

by 잇서니 2020. 1. 16.
반응형
number = [1, 2, 3]
number = list(map(str, number))
print(number)
#['1','2','3']

 

반응형

댓글