Exercise 6
I believe my issue is in the temperature. I’m using the same one from the previous example, as well as one I’ve seen on this page, which seem to have worked for others. It doesn’t work for me.
T = max(0, ((steps-step)/steps)**3-.005)The error I get is:
File "/usr/local/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/usr/local/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/usr/local/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/app/test/test_main.py", line 23, in test_answer
self.assertGreater(sum(convOutput) / 5, 30)
File "/usr/local/lib/python3.8/unittest/case.py", line 1310, in assertGreater
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
Error: 24.8 not greater than 30Can someone help me?