Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 배열추가
- R 그래프
- 이용현황분석
- useState
- plot in r
- 값삭제
- 광명시버스분석
- react #회원가입 #비밀번호비교
- vetor
- 백준 11718
- getline
- React
- setstate
- 그래픽
- 값추가
- await
- asynchronization
- 10172
- R데이터형태
- 백준 10172
- 탈출문자
- 버스분석
- 배열삭제
- 이스케이프시퀀스
- 그대로 출력하기
- DataFrame
- barplot
- 백준
- 데이터분석
- barplot in r
Archives
- Today
- Total
devlog_zz
[python] list 일부 선택하기 arr[2:5] 본문
728x90
list 일부 선택하기
arr[시작인덱스:마지막인덱스+1]
arr = [1,2,3,4,5]
print(arr[2:4])
arr[2:4] : 2번째 ~ 3번째
[3, 4]
728x90
'Back End > python' 카테고리의 다른 글
[python] range() 함수 활용 - 감소하는 list 생성, 증가하는 list 생성 (0) | 2022.08.07 |
---|---|
[python] list sort() , sorted() 차이 (0) | 2022.08.07 |
[python] list 최대값, 최소값 index (0) | 2022.08.07 |
[python] 몫, 나머지 구하기 (0) | 2022.08.07 |
[python] Counter list 원소 개수 세기 (0) | 2022.08.07 |
Comments