| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
Tags
- til
- All Longest Strings
- 백준
- 2750
- codesignal
- adjacentElementsProduct
- 10953
- Counting cells in a blob
- 피보나치 수
- C++
- recursion
- 2015 봄학기 알고리즘
- Python
- flask
- 파이썬 포렌식
- shapeArea
- 수 정렬하기
- markdown
- Numpy
- data_structure
- collections.deque
- matrixElementsSum
- Sequential Search
- Daily Commit
- cpp
- centuryFromYear
- baekjun
- almostIncreasingSequence
- codesingal
- 파이썬머신러닝완벽가이드
Archives
- Today
- Total
Introfor
List Functions 본문
<append>
Code
1 2 3 | nums = [1,2,3] nums.append(4) print(nums) | cs |
Result
<insert>
Code
1 2 3 4 | words = ["Python","fun"] index = 1 words.insert(index, "is") print(words) | cs |
Result
<index>
Code
1 2 3 | letters = ['p','q','r','s','p','u'] letters.index('r') letters.index('p') | cs |
Result
'Doing > Python' 카테고리의 다른 글
| 랜덤 뽑기 & excel 연동 (0) | 2017.02.01 |
|---|---|
| Canvas Flower (0) | 2016.12.27 |
| Socket_Chatting (0) | 2016.12.22 |
| 기초 문법(1) (0) | 2016.05.27 |
| 파이썬(Python)이란..? (0) | 2016.05.17 |
Comments