강의

멘토링

커뮤니티

Inflearn Community Q&A

enru's profile image
enru

asked

I opened my eyes and it was the day before the coding test.

Selection sort

마지막 코드

Written on

·

275

0

입력값 = [51066127754321115]
def 최솟값_인덱스(l):
  비교값 = l[0]
  for i in range(len(l)):
    if l[i] 비교값:
      인덱스 = i
  return 인덱스

print(최솟값_인덱스(입력값))
이렇게 수정해야하지 않을까 싶습니다.
강사님과 다른 수강생분들 파이팅 **
코테 준비 같이 해요!

Answer 1

2

jejucoding님의 프로필 이미지
jejucoding
Instructor

안녕하세요, 제주코딩베이스캠프입니다 :)

수정해 주신 코드가 맞는 코드로 다른 수강생들이 혼동되지 않도록 하겠습니다.

추가로 궁금하신 점이 있거나 답변이 충분하지 않았다면 답글 부탁드립니다.

피드백을 주셔서 감사합니다!!

enru's profile image
enru

asked

Ask a question