How To Write A Lambda In Python