[프로그래머스] 제일 작은 수 제거하기Lv.1 - Python

GoshK·2022년 1월 28일
0

[프로그래머스] Python

목록 보기
10/68
post-thumbnail

[프로그래머스] 제일 작은 수 제거하기Lv.1

나의 풀이

def solution(arr):
    arr.remove(min(list(arr)))
    return arr if len(arr) != 0 else [-1]

0개의 댓글