백준 BAEKJOON 34071번 첫 번째 문제는 정말 쉬운 문제일까? [PYTHON/파이썬]
문제 출처 (BRONZE Ⅳ)https://www.acmicpc.net/problem/34071 풀이주어진 문제의 난이도를 리스트에 담은 뒤0번째 인덱스가 가장 쉬운 문제인지, 가장 어려운 문제인지if 문을 활용하여 결과를 출력했다. 코드N = int(input())problem_level = [int(input()) for _ in range(N)]if problem_level[0] == min(problem_level): print("ez")elif problem_level[0] == max(problem_level): print("hard")else: print("?")