Skip to content

Commit de9ebe3

Browse files
committed
2026년 05월 20일 10:30:05
1 parent 4023021 commit de9ebe3

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# [3127] 신입생
2+
### 채점 결과
3+
Accepted
4+
### 제출 일자
5+
2026년 05월 20일 10:30:05
6+
### 성능 요약[추후 구현 예정]
7+
- 메모리: N/A KB
8+
- 시간: N/A ms
9+
---
10+
### 문제 링크
11+
https://code.pusan.ac.kr/problem/3127
12+
### 난이도
13+
쉬움
14+
### 문제 설명
15+
다음 속성을 가지는 딕셔너리를 정의하고 출력해보자.또한 정의된 딕셔너리 변수에 하나의 쌍 {'전화번호':'010-1234-5678'}을 추가하고 출력해봅시다.
16+
### 입력
17+
입력은 없습니다.
18+
### 출력
19+
첫 번째 줄에는 원래 딕셔너리를 출력하고두 번째 줄에는 데이터 쌍을 추가한 딕셔너리를 출력합니다.
20+
### 예제 입력/출력
21+
**예제 입력 1**
22+
```
23+
UNKNOWN
24+
```
25+
**예제 출력 1**
26+
```
27+
{'이름': '신입생', '나이': 20, '전공': '프로그래밍과'}
28+
{'이름': '신입생', '나이': 20, '전공': '프로그래밍과', '전화번호': '010-1234-5678'}
29+
```
30+
### 제약 사항
31+
- 시간 제한 1000ms
32+
- 메모리 제한 256mb
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
딕셔너리 = {"이름": "신입생", "나이": 20, "전공": "프로그래밍과"}
2+
print(딕셔너리)
3+
딕셔너리["전화번호"] = "010-1234-5678"
4+
print(딕셔너리)

0 commit comments

Comments
 (0)