Using If In Lambda Function In Python Definition W3schools