일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Linux
- tas tac
- tac
- terraform
- 프로그래머스
- DDL 추출
- 암시적 커서
- implicit
- tablespace
- 묵시적 커서
- tibero
- CentOS
- X11 forwarding
- OPEN CURSOR
- oracle
- VM 설정
- Python
- X11
- python3.7
- 파이썬
- Tuple
- VMware
- golang
- 리눅스
- 티베로
- 코딩테스트
- 코테
- vm tac 구성
- vm
- db
Archives
- Today
- Total
목록양끝 공백 (1)
줄기세포
[Python 기초 / 파이썬 마스터] 문자열 양 끝 공백 제거 메소드 (strip)
문자열에서 좌우 공백을 제거하는 메소드 종류 용도 활용 strip() 좌우 공백 제거 list.strip() lstrip() 좌 공백 제거 list.lstrip() rstrip() 우 공백 제거 list.rstrip() >>> a = ' test string ' >>> a.strip() 'test string' >>> a.lstrip() 'test string ' >>> a.rstrip() ' test string'
Python
2023. 6. 15. 00:04