And Logic In Python Example