Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mrk022
AICogSciFinalProject
Commits
0a1b62a5
Commit
0a1b62a5
authored
Dec 08, 2019
by
mrk022
Browse files
latest
parent
4ce4b84e
Changes
2
Hide whitespace changes
Inline
Side-by-side
__pycache__/tree.cpython-35.pyc
View file @
0a1b62a5
No preview for this file type
tutor.py
View file @
0a1b62a5
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment