def iscorrect(s1, s2): return compare(s1, s2) == 0
def iscorrect(s1,s2): for i in xrange(len(s1)): if compare(s1[i],s2[i]) <> ans[i]: return False return True
def iscorrect(s1,s2): if compare(s1,s2) == -1: return True else: return False
def iscorrect(s1, s2): for i in xrange(len(s1)): if compare(s1[i], s2[i]) <> ans[i]: return False return True
def iscorrect(s1, s2): if compare(s1, s2) == -1: return True else: return False