Python If Logical Operators In C