Skip to content


Combining like terms with distribution - −2+2(−4p+1) #30177

KhanBugz opened this Issue · 0 comments

2 participants


Will not accept the correct answer, -8p.


Answer timeline


Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.25 (KHTML, like Gecko) Version/6.0 Safari/536.25

MathJax is loaded, ready, queue length: 0

User hash: 128978112

@beneater beneater added a commit that closed this issue
@beneater beneater Handle case in combining_like_terms_2 where constant terms simplify to 0
fix #26874; fix #29882; fix #29943; fix #29949; fix #29964; fix #29969;
fix #30088; fix #30091; fix #30108; fix #30118; fix #30138; fix #30177;
fix #30205; fix #30257; fix #30258; fix #30276; fix #30279; fix #30280

Previously, the last hint would show something like "-24a + 0" and the regex
answer would expect you to type "-24a0". This fixes the final hint to show just
"-24a" and the answer regex expects "-24a"

Test Plan:
Tested these problematic seeds outside devappserver (before and after the fix):

Reviewers: stephanie

Reviewed By: stephanie

Differential Revision:
@beneater beneater closed this in 8183d56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.