Description

days_in_month에는 2월이 28일까지 있다고 만들어져 있는데요. 알고보니 2016년에는 2월이 29일까지 있습니다. "2월"이라는 이름표가 가지는 값을 29로 수정해 보세요. (단, 첫번째 줄은 수정하지 마세요)


아래의 예를 통해 딕셔너리를 수정하는 방법을 알아봅시다.

dict['one' : 1, 'two' : 2]

dict['three'] = 3    # 값을 추가합니다  {'one' : 1, 'two' : 2, 'three' : 3}
dict['one'] = 11     # 값을 수정합니다  {'one' : 11, 'two' : 2, 'three' : 3}
  • You need to fill in the blank with the appropriate code.
  • You cannot modify the given code.
  • An error message will appear in the result if you leave the blank empty.
Result Stop
Result of [Run Test] or [Submit] will be displayed here
내가 제출한 코드가 왜 틀렸는지 프로그래머스 AI에게 물어보세요.
제출 후 채점하기를 눌러 30점 이상인 경우 물어볼 수 있어요.
베타 기간 동안에는 한 문제당 1번만 물어볼 수 있어요.