인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

juwhan10048065's profile image
juwhan10048065

asked

Introduction to Python Algorithm Problem Solving (Coding Test Preparation)

3. Kth largest number

질문입니다

Written on

·

145

0

res = list(res)  에서 list() 가 리스트로 자료형을 변환시켜주는 역할을 하는건가요?? 저는 list() 가 리스트 생성만 있는줄 알았는데 list가 생성되어서 res가 원소로 들어가버리면 2차원 구조가 되는게 아닌가해서 질문드립니다!

python코테 준비 같이 해요!

Answer 1

0

codingcamp님의 프로필 이미지
codingcamp
Instructor

안녕하세요^^

list() 함수는 반복가능한 자료형을 리스트로 변환해주는 역할을 합니다.

juwhan10048065's profile image
juwhan10048065

asked

Ask a question