from typing import List def solution(num_list: List[int], n: int) -> List[int]: return num_list[:n]
func solution(num_list []int, n int) []int { return num_list[:n] }
programmers github