summaryrefslogtreecommitdiff
path: root/progs/unparsable_programs/a22.py
blob: 9209e854c30161c82c3f820c1826708994de0ecd (plain)
1
2
3
def nth_nums(nums,n):
 nth_nums = list(map(lambda x: x ** n, nums))
 return nth_nums