File size: 91 Bytes
1514a0b
 
 
1
2
3
def nth_nums(nums, n):
    nth_nums = list(map(lambda x: x ** n, nums))
    return nth_nums