
- 숫자 영역을 잡는 range는 일반적으로 for구문을 사용할 때 많이 이용
range1 = range(10)
print(range1)
range2 = range(1,11,2) # [1,3,5,7,9]형태로 인식
print(ragne2)

'Python > DataType&Structure' 카테고리의 다른 글
bool type (0) | 2019.11.26 |
---|---|
Mapping Type - dic(dictionary) (0) | 2019.11.26 |
Sequence Type - tuple (0) | 2019.11.26 |
Sequence Type - List (0) | 2019.11.26 |
Text Sequence Type (str) (0) | 2019.11.26 |
댓글