how to compare two strings in python using if