728x90
320x100
def solution(participant, completion):
# 정렬
participant.sort()
completion.sort()
for i in range(len(completion)):
if participant[i] != completion[i]:
return participant[i]
return participant[-1]
아니 겁나 간단해보이는데 왜케 안풀리는 거임 진짜 별거 아닌걸로 개고생했네 진짜 하 자괴감 오져
728x90
320x100
'💻 하나씩 차곡차곡 > 프로그래머스 (Python)' 카테고리의 다른 글
[프로그래머스/Lv.1/Python] 의상 (0) | 2024.01.09 |
---|---|
[프로그래머스/Lv.2/Python] 전화번호 목록 (0) | 2024.01.08 |
[프로그래머스/Lv.1/Python] [PCCP 기출문제] 1번 / 붕대 감기 (0) | 2024.01.04 |
[프로그래머스/python/Lv1] 개인정보 수집 유효기간 (0) | 2024.01.01 |
[프로그래머스/python/Lv1] [PCCE 기출문제] 10번 / 데이터 분석 (0) | 2023.12.31 |