In python how to check whether two strings are equal?