[Python] enumerate()

Kyungtaek Oh·2022년 3월 17일
0

Coding Note

목록 보기
1/2

enumerate()

Iterable object를 간단히 인덱싱 해주는 함수

Syntax

enumerate(iterable, start=0)

Parameters:
Iterable: any object that supports iteration
Start: the index value from which the counter is to be started, by default it is 0

Example

profile
Studying for Data Analysis, Data Engineering & Data Science

0개의 댓글