Python Test For Inequality Signs