Skip to content

Commit b037629

Browse files
committed
2026년 05월 07일 10:44:22
1 parent 1bbcd30 commit b037629

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# [3116] 리스트 만들기2
2+
### 채점 결과
3+
Accepted
4+
### 제출 일자
5+
2026년 05월 07일 10:44:22
6+
### 성능 요약[추후 구현 예정]
7+
- 메모리: N/A KB
8+
- 시간: N/A ms
9+
---
10+
### 문제 링크
11+
https://code.pusan.ac.kr/problem/3116
12+
### 난이도
13+
쉬움
14+
### 문제 설명
15+
odd = [1, 3, 5, 7, 9]위와 같은 리스트를이번에는 입력을 받아서 출력해봅시다.
16+
### 입력
17+
총 5번의 입력을 받습니다.첫 번째 줄은 1,두 번째 줄은 3,세 번째 줄은 5,네 번째 줄은 7,다섯 번째 줄은 9를 입력 받습니다.
18+
### 출력
19+
입력된 원소가 모두 포함된 리스트를 출력합니다.
20+
### 예제 입력/출력
21+
**예제 입력 1**
22+
```
23+
1
24+
3
25+
5
26+
7
27+
9
28+
```
29+
**예제 출력 1**
30+
```
31+
[1, 3, 5, 7, 9]
32+
```
33+
### 힌트
34+
odd = []odd.append(int(input())) << 입력 받은 정수 원소를 리스트에 추가합니다.
35+
36+
### 제약 사항
37+
- 시간 제한 1000ms
38+
- 메모리 제한 256mb
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
odd = []
2+
for _ in range(5):
3+
odd.append(int(input()))
4+
print(odd)

0 commit comments

Comments
 (0)