테스트 해봤는데 다음 오류가 나옵니다.
코드를 다시 확인하고 도전해보세요 화이팅!
2
1 6 5 4 3 2
Traceback (most recent call last):
File "C:\dscode2023\qw\main.py", line 25, in
out(S)
File "C:\dscode2023\qw\main.py", line 6, in out
del S[w]
~^^^
IndexError: list assignment index out of range

geon1103 2년 전
예제 입력은 잘 되는데 어디서 틀린건지 모르겠습니다.ㅠㅜ