파이썬

[dict] 키만 출력하기, 리스트로 변환 - keys()

simstealer 2021. 11. 29. 21:38

사용법

dict.keys()

키만 출력 된다.

키만 출력이 되고 리스트로 변환된 걸 알수 있어요.