문제풀이/SW Expert Academy

[SWEA][D2] 1966. 숫자를 정렬하자 (파이썬/Python)

얄루몬 2021. 9. 2. 12:54

t = int(input())

for tc in range(1,t+1):
    n = int(input())
    lst = list(map(int,input().split()))
    lst.sort()
    print(f'#{tc}',*lst)