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

(새 문서: ==개요== ;Python extend() ;파이썬 extend() <source lang='python'> colors = ['red', 'blue', 'green'] colors.extend(['black','white']) print( colors ) # ['red', 'blue', 'green',...)
 
 
11번째 줄: 11번째 줄:


==같이 보기==
==같이 보기==
* [[Python apped()]]
* [[Python append()]]
* [[Python 리스트 메소드]]
* [[Python 리스트 메소드]]


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

2019년 9월 25일 (수) 20:51 기준 최신판

1 개요[ | ]

Python extend()
파이썬 extend()
colors = ['red', 'blue', 'green']
colors.extend(['black','white'])
print( colors )
# ['red', 'blue', 'green', 'black', 'white']

2 같이 보기[ | ]

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