15. Class Basics - Interpreter Error


#1

Just wanted to report this error.

I had submitted my class with "def class Triangle" mistakenly instead of just "class Triangle"

The interpreter did throw an exception, but I got the green button showing that it was correct and I could proceed to part 16.

I believe the interface should have not given the green button to proceed but instead pointed out that there was an error in the code, because the "def" didn't belong in front of "class"