How can I assign a variable inside a lambda expression?
So for example I have lambda function like this.
o = lambda x,y: x+y
I want x+y to equal another variable so I can use it later in the lambda expression.
o= lambda x,y: avg = x+y #this thorws an error
I tried reading up on lambda documentation but nothing helps.
If I can make a variable, how would I use it later?