python if integer equals