Description

주어진 초기 코드는 정수들이 저장된 리스트 num_list의 각 원소 값 만큼 반복해서 그 값을 출력하는 코드입니다.

예를들어 num_list[1, 4, 3]라면

1
4 4 4 4
3 3 3

으로 출력돼야 합니다.

올바르게 동작하도록 코드를 한 줄 수정해 보세요.

  • In the Debug type question, you have to find and fix the bug in given code
  • You can change only one line of the given code
  • An error message will be shown in the Result area when you modify more than 2 lines of the given code.
Result Stop
Result of [Run Test] or [Submit] will be displayed here
내가 제출한 코드가 왜 틀렸는지 프로그래머스 AI에게 물어보세요.
제출 후 채점하기를 눌러 30점 이상인 경우 물어볼 수 있어요.
베타 기간 동안에는 한 문제당 1번만 물어볼 수 있어요.