파이썬 append()

Jmnote (토론 | 기여)님의 2017년 12월 6일 (수) 14:42 판 (새 문서: ==개요== ;Python append() ;파이썬 append() <source lang='python'> colors = ['red', 'blue', 'green'] colors.append('pink') print( colors ) # ['red', 'blue', 'green', 'pink'] </so...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

Python append()
파이썬 append()
colors = ['red', 'blue', 'green']
colors.append('pink')
print( colors )
# ['red', 'blue', 'green', 'pink']

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}