티스토리 뷰
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
>>> a = 'python'
>>> a[0]
'p'
>>> a[-1]
'n'
>>> a[:]
'python'
>>> a[1:4]
'yth'
>>> a[2:]
'thon'
>>> a[:2]
'py'
>>> a[-2:]
'on'
>>> a[:-2]
'pyth'
>>> a[::2]
'pto'
'Python' 카테고리의 다른 글
Python, 튜플 (0) | 2016.04.19 |
---|---|
Python, 세트 (0) | 2016.04.19 |
Python, 리스트 (0) | 2016.04.19 |
Python, 자료형 (0) | 2016.04.19 |
Python, 특수문자 (1) | 2016.04.19 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 리눅스
- checkbutton
- activeforeground
- Excel
- indicatoron
- Linux
- Private
- tkinter command & bind [명령어묶기와 사건묶기] Python
- 상수
- FetchType
- activebackground
- IdClass
- command
- onetomany
- highlightbackground
- 파이썬
- Java
- Composite Key
- tkinter
- apache
- JPA
- fetch join
- disabledforeground
- borderwidth
- highlightthickness
- vba
- ManyToOne
- Python
- Module
- 폼
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
글 보관함