Programming/Python & Data Structures
[Baekjoon/Python3] 10817번 세 수
HooNeee
2020. 12. 6. 18:14
[Baekjoon/Python3] 10817번 세 수
10817번: 세 수
첫째 줄에 세 정수 A, B, C가 공백으로 구분되어 주어진다. (1 ≤ A, B, C ≤ 100)
www.acmicpc.net
nums = list(map(int, input().split()))
nums.sort(reverse=True)
print(nums[1])
nums = list(map(int, input().split()))
nums.remove(min(nums))
nums.remove(max(nums))
print(*nums)