I am trying to identify how we can pass in the default arguments that have been defined for a function when it is used in map
For example for the following snippet:
def func1(a,x=3,y=2):
return (a + x)*y
lst = [1,2,3]
print map(func1,lst)
Is there a way to override the values for x & y so that for each element of lst x=4 and y=3 without using lambda or list comprehension?