#python #anaconda #jupyter-notebook #visual-code #html #css #javascript #http 제목Step 11 3번째 퀴즈 질문2021-04-10 14:39작성자질문자a = [1,1,2,3,5,8,13,24,34,55]b = [1,1,2,3,4,5,6,7,8,9,10,11,12]c = []for i in a: for j in b: if i==j: c.append(i) else: 0for u in range(len(c)): if c[u] == 1: del c[u] else: 0c.append(1) print(c)이 코드를 치면IndexError Traceback (most recent call last) <ipython-input-10-da0540243e66> in <module> 9 0 10 for u in range(len(c)): ---> 11 if c[u] == 1: 12 del c[u] 13 else: IndexError: list index out of range이런 오류가 나오는데 왜 그러는지 모르겠습니다 ㅠㅠ 목록수정삭제답변글쓰기 댓글 [1] 댓글작성자(*)비밀번호(*)내용(*) 댓글 등록 더보기이전String 관련 질문입니다.수강자2021-04-10다음짝수 홀수 프로그램수강생2021-04-10 Powered by MangBoard | 워드프레스 쇼핑몰 망보드