Commit 0a1b62a5 authored by mrk022's avatar mrk022
Browse files

latest

parent 4ce4b84e
......@@ -101,9 +101,9 @@ class TutorState:
eq1list = []
eq2list = []
for side in eq1:
eq1list.append(sorted(re.split('[-|+|*|/]',side)))
eq1list.append(sorted(re.split('([-|+])',side)))
for side in eq2:
eq2list.append(sorted(re.split('[-|+|*|/]',side)))
eq2list.append(sorted(re.split('([-|+])',side)))
#print(eq1list,eq2list)
return eq1list==eq2list
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment