문제링크: 최댓값과 최솟값
✍🏻 Information
| content | |
|---|---|
| 언어 | python |
| 난이도 | ⭐️ |
| 풀이시간 | 5분 |
| 제출횟수 | 1 |
| 인터넷검색유무 | yes |
🍒 My Code
def solution(s):
l = list(map(int, s.split()))
return str(min(l))+" "+str(max(l))
💡 What I learned
list 원소들 for문으로 변형하기n = [int(i) for i in s_list]