[Python] 백준 10818 최소, 최대
https://www.acmicpc.net/problem/10818 10818번: 최소, 최대 첫째 줄에 정수의 개수 N (1 ≤ N ≤ 1,000,000)이 주어진다. 둘째 줄에는 N개의 정수를 공백으로 구분해서 주어진다. 모든 정수는 -1,000,000보다 크거나 같고, 1,000,000보다 작거나 같은 정수이다. www.acmicpc.net n = int(input()) a = list(map(int,input().split())) min = a[0] max = a[0] for i in range(n): if max a[i]: min = a[i] print(min,max) n = lnt(input()) a = list(map(int,input().s..