https://www.acmicpc.net/problem/10818
N = int(input())
L = list(map(int, input().split()))
print(min(L))
print(max(L))
파이썬에 특정 숫자를 입력하여 그 수만큼 입력받는 기능은 없다
참고
https://www.acmicpc.net/board/view/20323
'Algorithm > Python' 카테고리의 다른 글
백준 2577번: 숫자의 개수 _파이썬 (0) | 2022.01.12 |
---|---|
백준 2742번: 기찍 N _파이썬 (0) | 2022.01.12 |
백준 2438번 : 별 찍기 - 1 _파이썬 (0) | 2021.11.21 |
백준 2562번 : 최댓값 _파이썬 (0) | 2021.11.19 |
백준 2739번 : 구구단 _파이썬 (0) | 2021.11.19 |
댓글