title: Python multiline lambda
body: <p>I am wondering if there is possible to find some equivalent to C# multiline lambda function in Python.</p>
  
  <p>Let's say, that I have C# code like this:
  <a href="https://i.stack.imgur.com/iIHJG.png" rel="noreferrer"><img src="https://i.stack.imgur.com/iIHJG.png" alt="enter image description here"></a></p>
  
  <p>I want to write some equivalent python code for this method. But as far as I know there is no possibility to have multiline lambda functions in python. Any ideas about some python equivalent code for this?</p>