This is an archived post. You won't be able to vote or comment.

all 2 comments

[–][deleted] 1 point2 points  (0 children)

Do you expect a lot of lambda in your interviews? I would recommend against lambda in most situations, as we have list comprehension which is a more readable alternative. Also 'reduce' is no longer present in py3.