When you ask a question, don’t forget to include a link to the exercise or project you’re dealing with!
Be VERY careful here, the code reads c-d and d-c as still correct
# Write your lots_of_math function here: def lots_of_math(a, b, c, d): e = a+b print(e) f = c-d print(f) g = e*f print(g) return g%a # Uncomment these function calls to test your lots_of_math function: print(lots_of_math(1, 2, 3, 4)) # should print 3, -1, -3, 0 print(lots_of_math(1, 1, 1, 1)) # should print 2, 0, 0, 0
Given that the answer is noted as right your code may still be wrong. Verify the console response to check your code.