Baekjoon Case

[백준 #2750] 수 정렬하기 - 파이썬(python)

Scarlett_C 2021. 8. 10. 14:26
728x90

https://www.acmicpc.net/problem/2750

내장 함수를 사용하여서 쉽게 풀었다.

N=int(input())
numlist=[]
for i in range(N):
    numlist.append(int(input()))
numlist.sort()
for i in numlist:
    print(i)

 

728x90