Closed ji-0630 closed 1 year ago
def solution(numbers):
numbers = sorted(numbers, reverse=True)
return numbers[0]*numbers[1]
def solution(numbers):
numbers.sort()
return numbers[-2] * numbers[-1]
*sorted 가 아닌 sort 사용 가능
문제 설명