示例#1
0
 def iscorrect(s1, s2):
     return compare(s1, s2) == 0
示例#2
0
 def iscorrect(s1,s2):
     for i in xrange(len(s1)):
         if compare(s1[i],s2[i]) <> ans[i]:
             return False
     return True
示例#3
0
 def iscorrect(s1,s2):
     if compare(s1,s2) == -1:
         return True
     else:
         return False
示例#4
0
 def iscorrect(s1, s2):
     return compare(s1, s2) == 0
示例#5
0
 def iscorrect(s1, s2):
     for i in xrange(len(s1)):
         if compare(s1[i], s2[i]) <> ans[i]:
             return False
     return True
示例#6
0
 def iscorrect(s1, s2):
     if compare(s1, s2) == -1:
         return True
     else:
         return False