정답 코드
def solution(s): answer = '' answer_list = s.split() for i in range(len(answer_list)): answer_list[i] = int(answer_list[i]) answer_list.sort() answer= f'{answer_list[0]} {answer_list[-1]}' return answer