Codewars notes -取 最小值

 

 

Solution :

def find_smallest_int(arr):
    select = min(arr)
    return select
    
    
find_smallest_int([78, 56, 232, 12, 11, 43])
find_smallest_int([78, 56, -2, 12, 8, -33])
find_smallest_int([0, 1-2**64, 2**64])

 

posted @ 2022-06-25 14:36  大序列  阅读(13)  评论(0编辑  收藏  举报