Looking at this piece of python code, I wrote:
return map(lambda x: x[1], filter(lambda x: x[0] == 0b0000, my_func(i) ) )
(Hoping this will be clear)
I am wondering if python has a better way to do this?
I learned python a few months ago, wrote some scripts and have not used it since. This puts me in a strange place to learn, because I know enough to do what I want, but I donโt have the novice instinct to find the โrightโ way. I hope this question brings me back on track ...
python
john
source share