Using If Statement In Lambda Python Documentation Functions In C