Skip to content

Commit

Permalink
[level 0] Title: 카운트 업, Time: 0.00 ms, Memory: 10.1 MB -BaekjoonHub
Browse files Browse the repository at this point in the history
  • Loading branch information
boyamie committed Jun 12, 2024
1 parent d2f5592 commit cdd8703
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
61 changes: 61 additions & 0 deletions 프로그래머스/0/181920. 카운트 업/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# [level 0] 카운트 업 - 181920

[문제 링크](https://school.programmers.co.kr/learn/courses/30/lessons/181920)

### 성능 요약

메모리: 10.1 MB, 시간: 0.00 ms

### 구분

코딩테스트 연습 > 코딩 기초 트레이닝

### 채점결과

정확성: 100.0<br/>합계: 100.0 / 100.0

### 제출 일자

2024년 06월 12일 13:37:40

### 문제 설명

<p>정수 <code>start_num</code>와 <code>end_num</code>가 주어질 때, <code>start_num</code>부터 <code>end_num</code>까지의 숫자를 차례로 담은 리스트를 return하도록 solution 함수를 완성해주세요.</p>

<hr>

<h5>제한사항</h5>

<ul>
<li>0 ≤ <code>start_num</code> ≤ <code>end_num</code> ≤ 50</li>
</ul>

<hr>

<h5>입출력 예</h5>
<table class="table">
<thead><tr>
<th>start_num</th>
<th>end_num</th>
<th>result</th>
</tr>
</thead>
<tbody><tr>
<td>3</td>
<td>10</td>
<td>[3, 4, 5, 6, 7, 8, 9, 10]</td>
</tr>
</tbody>
</table>
<hr>

<h5>입출력 예 설명</h5>

<p>입출력 예 #1</p>

<ul>
<li>3부터 10까지의 숫자들을 담은 리스트 [3, 4, 5, 6, 7, 8, 9, 10]를 return합니다.</li>
</ul>


> 출처: 프로그래머스 코딩 테스트 연습, https://school.programmers.co.kr/learn/challenges
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def solution(start_num, end_num):
return [i for i in range(start_num, end_num+1)]

0 comments on commit cdd8703

Please sign in to comment.