Using Lambda Function In Python Documentation For Loop