0
[SOLVED] Help me with a Python problem
a = (lambda x: x * (x+1)) ??? print(a) What do I put in the ???
3 odpowiedzi
+ 5
You can put a parenthese pair and a value inside it.
The lamba function will be called with x = value and you'll get an evaluation: value * (value + 1)
+ 2
Thank you so much!
+ 1
I'm a bit confused with your question. What are you trying to do?