def ntimes_list(nums,n): result = map(lambda x:n*x, nums) return list(result)