강의

멘토링

커뮤니티

Inflearn Community Q&A

pohaha8254081's profile image
pohaha8254081

asked

Introduction to Python Algorithm Problem Solving (Coding Test Preparation)

5. Regular polyhedron

교수님 질문 있습니다!

Written on

·

208

0

문제 조건 중에

'정답이 여러 개일 경우 오름차순' 으로 되어있는데

따로 조건을 안 걸어도 괜찮을까요?

python코테 준비 같이 해요!

Answer 1

0

codingcamp님의 프로필 이미지
codingcamp
Instructor

안녕하세요^^

네. 코드에서는 따른 오름차순 조건을 걸 필요가 없습니다. 어자피 인덱스 번호 접근이 작은 숫자부터 접근하기 때문입니다.

pohaha8254081's profile image
pohaha8254081

asked

Ask a question