[백준, 파이썬 , 10817번] 세 수 풀이 초기 접근: max 함수에 인자값을 넣어 원하는 값을 출력하고 싶었지만 안됨 그래서 일반적인 방법으로 정렬 후 끝에서 두 번째 값을 출력하여 해결 import sys input = sys.stdin.readline print(sorted(map(int,input().strip('\n').split()))[-2]) 알고리즘 2023.08.28