educative.io

Educative

Hi, Getting errors even with correct code

Hi,
For the problem in this tag and for earlier coin change and DIY problems as well, I am getting general errors as here in the output. The actual code is correct and it works in other IDEs of mine. Can someone please fix this?

Traceback (most recent call last):
File “main.py”, line 81, in
main()
File “main.py”, line 70, in main
jres[“hidden”] = result.hidden
AttributeError: ‘TestResult’ object has no attribute ‘hidden’


Type your question above this line.

Course: https://www.educative.io/collection/10370001/5678467054567424
Lesson: https://www.educative.io/collection/page/10370001/5678467054567424/5511362188410880

Hi @Prem_Sridharan ,
Thank you for pointing out this issue. The issue has been fixed now. You can test your code without getting that error.

We hope Educative has inspired you to further your learning. :slight_smile: