문제 링크

정답 :

def solution(num_list, n):
    
    return num_list[:n]