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