"파이썬 append()"의 두 판 사이의 차이

(새 문서: ==개요== ;Python append() ;파이썬 append() <source lang='python'> colors = ['red', 'blue', 'green'] colors.append('pink') print( colors ) # ['red', 'blue', 'green', 'pink'] </so...)
 
12번째 줄: 12번째 줄:
==같이 보기==
==같이 보기==
* [[파이썬 pop()]]
* [[파이썬 pop()]]
* [[파이썬 리스트 메소드]]


[[분류: Python 리스트]]
[[분류: Python 리스트]]

2017년 12월 6일 (수) 14:42 판

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 }}