And Logic In Python With Example