Python If Logical Operators Excel