본문 바로가기

Python 문법

Python 문법- Loop, enumerate, keys, values, items

# 리스트의 인덱스값과 매칭되어 저장되어 있는 값을 함께 출력 - enumerate

 

 

# 딕셔너리 데이터를 for 루프 : keys, values, items

 

'Python 문법' 카테고리의 다른 글

Python 문법 - infinite loop, nested loops  (0) 2022.04.25
Python 문법 - break, range, while  (0) 2022.04.25
Python - 반복문 Loop, for  (0) 2022.04.25
Python 조건문 -if, elif, else  (0) 2022.04.21
Pythoon- 비교 연산자, and, or  (0) 2022.04.21