함수 combinations list()

Jmnote (토론 | 기여)님의 2018년 12월 9일 (일) 16:34 판 (새 문서: ==Python== 분류: Python <source lang='python'> import itertools lst = list(itertools.combinations([1,2,3],2)) print( lst ) # [(1, 2), (1, 3), (2, 3)] ==같이 보기== * 조...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 Python

<source lang='python'> import itertools lst = list(itertools.combinations([1,2,3],2)) print( lst )

  1. [(1, 2), (1, 3), (2, 3)]

2 같이 보기

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