728x90
내장 함수를 사용하여서 쉽게 풀었다.
N=int(input())
numlist=[]
for i in range(N):
numlist.append(int(input()))
numlist.sort()
for i in numlist:
print(i)
728x90
'Baekjoon Case' 카테고리의 다른 글
[백준 #1427] 소트인사이드 - 파이썬(python) (0) | 2021.08.11 |
---|---|
[백준 #10989] 수 정렬하기3(카운팅 정렬) - 파이썬(python) (0) | 2021.08.11 |
[백준 #1436] 영화감독 숌 - 파이썬(python) (0) | 2021.08.10 |
[백준 #1018] 체스판 칠하기 - 파이썬(python) (0) | 2021.08.10 |
[백준 #7568] 덩치등수구하기 - 파이썬(python) (0) | 2021.08.10 |