How To Write Lambda Functions In Python